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 |
Difference between comparator and comparable in java?
What is append function?
Can you sort a list in java?
Difference between Choice and a List?
Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.
How can I become a good programmer?
How do you find the absolute value?
What are the benefits of java?
Explain exception chaining in java?
What releases of Java technology are currently available? What do they contain?
Explain runtime exceptions?
Explain access modifiers in java.