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 difference overloading and overriding?
What is a Transient Object?
What are jee technologies?
Can you explain the final method modifier?
Can we use this () and super () in a method?
What is difference between == and === in js?
Why hashcode is used in java?
How can we make sure main() is the last thread to finish in java program?
What is the java idl system?
What’s the difference between applets and standalone program?
What is the difference between access specifiers and access modifiers in java?
what is encapsulation in java? Explain
When should I use singleton pattern?
Can a method be overloaded based on different return type but same argument type?
What are the three parts of a lambda expression?