An instance has state, behavior and identity. The structure and behavior of similar classes are defined in their common class. An instance is also called as an object.
Instance is nothing but objects in a class.Its just like students in a particular class having, just like different , height, weight, color, etc Means which can hold separate properties and behavior.
No comments:
Post a Comment