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



what really hapens when a object is created using new operator? 1.is it allocates memory to all v..

Answer / aaa

it allocates the memory to the variables which belongs to
that object.

Is This Answer Correct ?    9 Yes 0 No

what really hapens when a object is created using new operator? 1.is it allocates memory to all v..

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 really hapens when a object is created using new operator? 1.is it allocates memory to all v..

Answer / joker

more precisely to non static variables..

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Core Java Interview Questions

which method throws exception of type Throwable

2 Answers  


What is a vector in java?

0 Answers  


Explain java thread life cycle.

0 Answers  


Suppose i have two threads t1 and t2 are running.How the main thread will know that the two threads t1,t2 execution has completed?

2 Answers   Subex,


What is command line argument in java?

0 Answers  






Which methods cannot be overridden in java?

0 Answers  


List any five features of java?

0 Answers  


how to connect two diffrent applet files

0 Answers  


What are the advantages of exception handling?

0 Answers  


What are the advantages of autoboxing?

0 Answers  


How do you use find and replace?

0 Answers  


Is constructor inherited?

0 Answers  


Categories