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


Please Help Members By Posting Answers For Below Questions

What is the difference between iterator and list iterator?

534


What should I import for arraylist in java?

510


What is use of map in java?

517


What is sortedmap in java?

553


How many types of the indexof method are there for strings?

491






What is ascii format?

550


Explain the overview of UDP messaging.

735


Explain about procedural programming language or structured programming language and its features?

548


What is the difference between normal report & matrix report?

573


Can we call a non-static method from inside a static method?

561


How hashmap increases its size in java?

493


Define an enumeration?

615


Which sorting is used in arrays sort in java?

587


Which data type is a class in java?

573


What is the dot operator?

572