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 |
What does void * mean?
What is OOP Language?
Can we have multiple catch block for a try block?
What about instanceof operator in java?
whats the diff between jsp and servlets?
class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?
How do you remove duplicates in java?
What is foreach loop in java?
What is public static void main?
What is a string token?
What is navigable map in java?
What is the Vector class?