Question: Write a java program to create class PC where you shall create an object pcfrom class Account in main then call function OS(String os) once

Write a java program to create class "PC" where you shall create an object "pc"from class Account in main then call function OS(String os) once from the object created from the PC class. Don't forget to create your Setters, Getters, & Constructors. PC Version Operating System OS(String os){"Operating is" os}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
