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 is public static?
What do you mean by a JVM?
what is associative array
What are features of java?
How many types of keywords are there?
What is Collection interface?
What is Servlet?
I want to persist data of objects for later use. What’s the best approach to do so?
Explain the importance of thread scheduler in java?
What is lexicographically smallest string?
What is the use of ?this??
What is method and methodology?