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 do you mean by checked exceptions?
Which class is used by server applications to obtain a port and listen for client requests?
What is floor in java?
In java, how we can disallow serialization of variables?
Why are parameters used in functions?
What is ph and buffers?
How we create object in copy constructor?
What is the difference between double and float variables in java?
Define max and min heap, also the search time of heap.
What are user defined exceptions?
When should you make a function static?
Can you start a thread twice in Java?
Tell me how many ways are there to initialise an integer with a constant.
What are anonymous inner classes?
Why do we need hashset in java?