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 |
Why is java so popular?
What is fundamental datatype?
What does n mean?
Which is bigger float or double?
Is a class subclass of itself?
what happens when we add the objects morethan the size limit to a hashmap
What is the reflection?
Define iterator and methods in iterator?
what is data binding? give the example
Is it possible to make an array volatile?
If you do not want your class to be inherited by any other class. What would you do?
What does g mean in regex?