Java Programming Tutorial - 16 - Many Methods and Instances

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
234,181
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 9, 2009

How to use multiple methods and also instance variables inside a class.

  • likes, 27 dislikes

Link to this comment:

Share to:

Top Comments

  • Ok is anyone else confused... i was fine before but now I'm totally lost

  • this is the first one i got confused on

see all

All Comments (781)

Sign In or Sign Up now to post a comment!
  • This is kinda hard for a begginer!

  • Wonder if anyone can shed some light on this for me:

    I get an error with the printf command, ive copied bucky's code exactly but for some reason it doesnt like the printf, the compiler is the correct version also.

    Would really appreciate the help, cheers!

  • Your first girlfriend... Null :(

  • Dude i gotta say, I love your java tutorials. I am a Web Developer and I Needed to learn a destop Lenguage and decided to go with Java. Just by watching your videos I learn a great deal. Thanks a lot for this great Job. Keep it up!

  • @veric1525 String name; public void setName(String name){ } public String getName(){ return name;

    That is how i did it and it returns 'null'. It is just hard to understand why does it work this way so if you explain it to me it will be easier to remember. Thnx again

  • First of all, thank you very much for all of the videos. It is much easier and fun to follow your teaching then the one of my professor.

    So, my question is why do we have to use 'girlName' in the beginning of the class tuna? Why can't we just use name? I ran the program without 'girlName' and it returns 'null' in the spot where the actual name should be. Can you please explain this? Thank you

  • wow didn't know you could put a variable outside a method xO

  • Also better known as java's getters and setters

  • @Confused go back to tutorial 3 and start again :D

  • Always learn an easier language before you try the hard, I learned Lua before this, they are very similar. Minus a few minor detail.

Loading...

Alert icon
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