/**
* Create a class and demonstate proper encapsulation techniques
* the class will be called Printer
* It will simulate a real Computer Printer
* It should have fields for the toner Level, number of pages printed, and also whether its a duplex printer
* (capable of printing on both sides of the paper).
* Add methods to fill up the toner (up to a maximum of 100%), another method to simulate printing a page
* (which should increase the number of pages printed).
* Decide on the scope, whether to use constructors, and anything else you think is needed.
*/
-
Notifications
You must be signed in to change notification settings - Fork 0
Adhouma/Encapsulation-challenge
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java Encapsulation challenge
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published