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 / 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 |
Post New Answer View All Answers
Does sprintf allocate memory?
Why packages are used?
What’s the difference between callable and runnable?
What do you mean by order of precedence and associativity?
Give some features of interface?
What is core java called?
Does isempty check for null?
How java is similar to c?
What data structures are used to perform recursion?
Is void a type?
Implement a stack with push (), pop() and min() in O(1) time.
Why chararray() is preferred over string to store the password?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
What are actual parameters?
What is difference between stringbuffer and string?