Added: 3 years ago
From: shlumph
Views: 34,343
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (24)

Sign In or Sign Up now to post a comment!
  • how can i download this video? i found this more useful than my teacher's lecture and i've been killing myself for the past 2 days trying to figure this out by reading 3 diff books that explain it differently, thumbs up if you are a visual and hand's on lerner..

  • I'm 12 and i understood this :D

  • wat does "public string", "public int" and "public Person" mean??? i mean, give specific meanings of those...

  • My screen is not empty even at the beginning, it has some codes, some files at the left screen which I can't delete. IDE is somehow non linear and confusing. If I want to rename the classduring typing, I can't do it.

    How to write a code that will subtract two numbers?

  • This makes javascript seem so easy.

  • java makes me wanna jump off a cliff

  • @chrysillo C++ is so much better!

  • @Dillboy928dfb ye and much easier

  • Why does the name of a class need the first letter to ba always capital? Is there a specific reason or is it just an arbitrary rule that the creators of jave decide to put in?

  • @tharwpoop Not sure of the exact reason, but in some OS's file names are case sensitive, while others are not. Since the class name and the file name need to be the same, this could cause some problems in portability.

    But then again, ThisObject() and Thisobject() are both valid. The decision was probably made due to popular naming conventions.

  • @shlumph It's just a standard in programming, to differentiate between functions and the logic that invokes those functions within whatever class that's from.

    Just makes it more readable.

  • @tharwpoop i think its simply to distinguish between variables and structs or objects/classes, its a programming standard that helps in maintenance.

  • @tharwpoop....By convention, programmers using Java begin their class names with an uppercase letter. Thus, the class that defines the attributes and methods of a person would probably be named Person, and the class for lets say a dog would probably be named Dog. However, following this convention is not required to produce a workable program. Hope this helps!

  • @tharwpoop correction: names do not need to be capital its encouraged to be lowercase not capitalized but it won't matter

  • Awesome 5/5, Subbed =)

  • ok when you say return, do you mean that it is going to print the object you just declared?

  • no...it will just return the value of the variable.... you must use the print function to display..

  • lol this would have helped when i was actually learning this for the first time in school. now we are learning implementation; which makes this stuff seem like CAKE

  • no...again, it will just return the value...

  • What Java Jargon don't you know? Of course, you need to learn to walk before you can run :D

  • hey, why do we need constructors?

    aren't they by default from Object?

  • Constructors help initialize fields of the object

  • wow you helped me so much..since i've started learning c++ a while ago but tomorrow i have to write an java test and haven't done anything in java for months ^^

    youtube needs more people like you and antiRTFM :)

    thanks a lot !

  • thanks

    :D

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more