Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- soal 1: Home Appliances
- parent class:
- Appliances:
- -attributes:
- -powerConsumption (int)
- -applianceName (string)
- -price (int)
- -function:
- -setter & getter
- -count()
- child class:
- 1. RiceCooker:
- -attributes:
- -capacity (int)
- -function:
- -setter & getter
- 2. Iron
- -attributes:
- -maxTemperature (int)
- -function:
- -setter & getter
- soal 2: Custom Earphone
- menu:
- 1. Create Earphone (Insert)
- 2. View Earphone List (View)
- 3. Buy Earphone (Delete)
- 4. Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement