Define how objects are stored in java?
Answer / Sujeet Sinha
In Java, objects are stored as instances of their classes on the heap. The memory allocated for an object contains not only the state (instance variables) but also metadata such as class name, instance variable names and data types, and references to other objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is array length in java?
What is the difference between Object and Instance?
What is private public protected in java?
What is meant by final class, methods and variables?
Can you have two constructors in java?
Brief the life cycle of an applet.
What is the use of default method in interface in java?
What is ResourceBundle class?
What is the difference between replace and replace all?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
Can I import same package/class twice?
Can an interface extend another interface?