Prithviteja
Does memory for Class or Object?
0 Answer(s)      3 years and 6 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?

Advertisement
View Answers