Professional Documents
Culture Documents
Assignment4 OOP
Assignment4 OOP
Assignment List 4
1. Create two classes Person and Demo Person. Run and Observe the output of
this code.
2. Add Default Constructor to the Persons Class using below code and Test the
Code .
4. Maruti. showCarDetails();
5. List down all the default values assigned to Car Class by JVM.