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 / aaa
it allocates the memory to the variables which belongs to
that object.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a synchronized method and a synchronized block?
What is abstraction in java?
What is constructor and its types?
What is meant by 'bit masking' in java?
How do you remove duplicates from an array in java?
What is merge sort in java?
what is interface in java? Explain
How many types of the indexof method are there for strings?
Explain java heap space and garbage collection?
What is difference between core java and java ee?
Do I need java on my computer?
Is hashset ordered?
What is the purpose of methodology?
How can an exception be thrown manually by a programmer?
Why is stringbuffer thread safe?