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
What is the default value of byte datatype in java?
What are the advantages of autoboxing?
Can we override constructor in java?
Name few java 8 annotations ?
What is the difference between post and put?
What is variable argument in java?
What is the generic class?
What are the advantages of java over cpp?
How strings are created in java?
how to prepare for IT Officers Interview in Banks
What is a string what operation can be performed out with the help of a string?
What is the integer of 16?
What do you understand by the term polymorphism?
How to sort double array in java?
What java ide should I use?