Question: Create class that called Computer: - Create three instance variable (Motherboard Public, Ram private, CPU private) Create one constructor and set (Motherboard) inside it.
Create class that called Computer: - Create three instance variable (Motherboard Public, Ram private, CPU private) Create one constructor and set (Motherboard) inside it. Create default constructor. . - - Create getter and setter for Ram Create getter for CPU Create setter for CPU In Main(): Create Two object of Computer - Set ("HP,8,"17") in first object Set ("DELL", 4,"15") in Second object Print the info of the object has the more size of ram
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
Heres a Python class called Computer with the specified instance variables constructors and methods ... View full answer
Get step-by-step solutions from verified subject matter experts
