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 |
Which methods are used during serialization and deserialization process?
How can we achieve thread safety in java?
What is native code?
Will set allow duplicates in java?
what is purpose of collections.unmodified() method..?
Why is it called a string?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What are the five major types of reference sources?
Can we have any other return type than void for main method?
why is S capital in System.out.println ????
Is java a utf 8 string?
What is printwriter in java?