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
How many threads can java run?
Is java 1.7 the same as java 7?
Is class is a data type?
Why is static used?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
Why vector is used in java?
What are the basic interfaces of java collections framework?
Explain the transient field modifier?
Is it necessary that each try block must be followed by a catch block?
define polymorphism in java
What is return data type?
How do you format in java?
What are the different http methods?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
Is it possible to compare various strings with the help of == operator?