Does memory for Class or Object?

Ads
 

Does memory for Class or Object?

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?

View Answers

Ads









Related Tutorials/Questions & Answers:
Does memory for Class or Object?
What does it mean that a class or member is final?
Advertisements
Why does Java provide both abstract class as well as interface
Memory
memory
memory management
Objects
memory layout
memory management
Memory Allocation
memory allocation
memory allocation
heap memory
Class
java memory allocation for member variables and member functions
classes and objects
Classes and Objects
import package.subpackage.* does not work
Java memory leak
class
Class Loader
Class Loader
wrapper class
Implicit Objects In JSP
Creating a memory leak with Java
Class and Instance
Matrix Class
Matrix Class
heap and stack memory
NSMutablestring memory leak
memory areas in jvm

Ads