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?
Answers were Sorted based on User's Feedback
Answer / aaa
it allocates the memory to the variables which belongs to
that object.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / 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 |
Print Vertical traversal of a Binary Tree.
Explain the private field modifier?
How hashmap increases its size in java?
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,
What are the types of loops in Java, and how are they used?
What is the difference between a break statement and a continue statement?
What is a super method?
what is object slice?
Which method cannot be overridden in java?
Explain notifyall() method of object class ?
How to make a class or a bean serializable?
What is append function?