Junior OOP

What is the difference between a class and an object?

Feature Class Object

Definition Blueprint/Template Instance of a class

Memory Does not occupy

memory

Occupies memory

Example class Car { } Car myCar = new

Car();

More from C# Programming Tutorial

All questions for this course