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
Explain about main thread in java?
What is protected in java?
What is the benefit of abstract class?
Can a class be declared as static?
Write a method to check if input string is palindrome?
Can sleep() method causes another thread to sleep?
What is a copy constructor in java?
What are internal and external variables?
What does n mean?
Explain about object oriented programming and its features?
What is bigger kb or mb?
What is the difference between a window and a frame in java programming?
why would you use a synchronized block vs. Synchronized method? : Java thread
Is ruby built on java?
Is string an object?