what is the relation between classes and


What is the relation between Classes and Objects?

The class & object look very much same but are not same. The Class is a definition, while object is a instance of the class created. The Class is a blue print while objects are actual objects existing in real world. For example we have class CAR that has attributes and methods such as Brakes, Speed, and Type of Car etc. The Class CAR is just a prototype, then we can create real time objects that can be used to provide the functionality. For example we can create a car object with 100 km speed and urgent brakes.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what is the relation between classes and
Reference No:- TGS0161219

Expected delivery within 24 Hours