Does memory for Class or Object?

Ads

 
 

Share on Google+Share on Google+

Prithviteja
Does memory for Class or Object?
0 Answer(s)      5 years and 9 months ago
Posted in : Java Beginners

Does memory for class(methods & instance variables)allocated without it's object creation?If no,then The main() itself has associated with a class for which there is no instance creation,how methods in main()(which intern in some class)are accessible?

Ads
View Answers
Ads