Added: 1 year ago
From: brisklearn
Views: 3,986
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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