what is an object and how do you allocate memory to it?
Answer Posted / janet
Object is an instance of a class and it is a software unit
that combines a structered set of data with a set of
operations for inspecting and manipulating that data. when
an object is created using new operator,memory is allocated
to it.
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What do you mean by stack?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Can a vector contain heterogenous objects?
What are different types of encoding?
why we use merge option in hybernate pls give a ex snippet
What is data type modifier?
What is reverse function?
Explain the difference between private, public, package and protected in java?
What is a java predicate?
Explain the importance of finally over return statement?
Where can I find jdk in my computer?
Which method must be implemented by all threads?
What is an array in java?
What do you mean by local variable and instance variable?
What does indexof return in java?