Forums Java Help What is an Object and how do you allocate memory to it

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4134
    Aakanksha
    Participant

    What is an Object and how do you allocate memory to it?

    #11608
    Aakanksha
    Participant

    Object is an instance of a class and it is a software unit that combines a structured 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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.