Question: choose the correct statement. ( : 2 ) All object of a class are allotted memory for the all the variables defined in the class
choose the correct statement.
:
All object of a class are allotted memory for the all the variables defined in the class
All object of a class are allotted memory for the methods defined in the class
main method must be made public
If a function is defined public it can be accessed by object of other class by inheritation
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
