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 jvm and jre? What is an interface?
What is the difference between preemptive scheduling and time slicing in java programming?
can used Protected Class outside Function.?
Difference between final and effectively final ?
Can java program run without jre?
What is the maximum size of list in java?
How does a cookie work in Servlets?
Which is the best approach for creating thread ?
What is hash table in java?
How list contains works in java?
Can we use a default constructor of a class even if an explicit constructor is defined?
Difference between this() and super() in java ?
Is array passed by reference in java?
Why do we create threads in java?
Explain about fail safe iterators in java?