Relationship between an object and the class

Describe the relationship between an object and the class?

E

Expert

Verified

Class is like a outline that defines the states, behavior and properties which are general to a number of objects. Object is an instance of a class. Such as, a class known as Vehicle and Car is an object of vehicle class. We can generate several number of objects for the class called Vehicle, such as Auto, Van, and Truck.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.