what really hapens when a object is created using new
operator?
1.is it allocates memory to all variables and methods in
the class with reference to that object?
Answer Posted / seshu godavarthi
when we created an object with new operator it tells the
compiler to allocate a memory for the particular object
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain JMS in detail.
What is an immutable class? How to create an immutable class?
What are different ways of object creation in java ?
Which is better list or arraylist in java?
What is an array in java?
What is the difference between jdk, jre, and jvm?
What is json parser in java?
What is proper subset?
Why string objects are immutable in java?
Why java is made?
How do you execute a thread in java?
Explain the importance of thread scheduler in java?
What are the methods available in a class?
What is math in java?
Difference between concurrent hashmap and hashtable and collections