Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- R3.1- public. implementation is the data your objects can store.
- R3.2- Encapsulation is the packing of data and functions into a single component. The features of encapsulation are supported using classes in most object-oriented programming languages, although other alternatives also exist.
- R3.3- it's the specified object or variable that won't be shown publicly or in the console.
- R3.4- A+ = 100
- B = 80
- R3.5- public int AM = 9:00
- public double PM = 3:30
- R3.6- change the implentation so they can use it how they want to use it.
- R3.7- no, because you can simply set the value of a variable without using a mutator.
- R3.12- the method has the "this" reference which helps specify which variable within the method to use. The method states that the one BankAccount method is equal to balance - amount, while the other is equal to balance + amount.
- R3.14- public int area;
- R3.18- harryschecking balance 2000
- harryschecking subtract 500
- harryschecking total 1500
Advertisement
Add Comment
Please, Sign In to add comment