Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Encapsulation in Java - Tutorial 11

Loading...

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

Uploaded by on Jun 16, 2010

For more free tutorials, Labs, Quiz, Certification please visit brisklearn.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • good

  • @FlipTopEMCEE She made an object to run the main method would look like:

    Bank b1 = new Bank();

    b1.setCurrentBalance(1000.00);

    System.out.println(b1.getCurre­ntBalance);

    the data (the amount in the bank account) is hidden data also known as encapsulation.

  • wheres the main class?

  • Good example.

  • wow. shes a hard breather lol. very good tut!

  • Good example ...thanks ..

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