+ 1
What is instance of a class ?
4 Answers
+ 4
let us say you have defined a class Fruit
you then define apple
apple = new Fruit()
apple is an instance of the class fruit
apple is also known as an object
the process of creating apple is called instantiation !
+ 4
you can mark answers you like as accepted to mark a milestone in the question ^^
+ 1
Instance of a class is also known as the object
+ 1
thankyou