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 / joker

more precisely to non static variables..

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is math class static in java?

605


What are checked exceptions?

573


How can you generate random numbers in java?

577


Can a class be private?

508


how its run?

561






Can you run java program without main method?

541


What is a method vs function?

545


What is entry set in java?

527


Which is fastest collection in java?

557


Define interface in java?

599


what are synchronized methods and synchronized statements? : Java thread

575


What is the range of the short type?

575


What is boolean logic?

559


Write a java program for binary search?

601


What is binary search in java?

553