Quiz Yourself: Classes and OOP
Test your knowledge of classes and object-oriented programming.
We'll cover the following...
Classes and OOP Quiz
1
What’s the difference between a class and a struct?
A)
Structs are for numerical types and classes are for text.
B)
Structs are value types and classes are reference types.
C)
Structs are reference types and classes are value types.
D)
Structs consume less memory that classes.
Question 1 of 40 attempted
Access this course and 1400+ top-rated courses and projects.