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
Which is better 64 bit or 32 bit?
What is package private scope in java?
How does hashset work in java?
What is difference between wait and notify in java?
What is boolean used for?
How do I compare two strings in word in java?
What is the major advantage of external iteration over internal iteration?
What does escaping a character mean?
When to use runnable interface vs thread class in java?
How does compareto work in java?
What is the purpose of methodology?
What is the base class of all classes?
How many digits is int32?
Give any two differences between C++ and java.
What is string data type?