Q:

What is the relation between class and objects?

0

What is the relation between class and objects?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

They both look very much same but they are not same. The class is definition while the object is the instance of the class created. The class is blue print while objects are actual objects existing in the world.
Example: Car has attributes & method like speed, brake, type of car etc.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Top 100 C# interview questions and answers 2022

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
List some of the advantages of C#?... >>
<< What is an object?...