Quiz Yourself: Classes and OOP
Test your knowledge of classes and object-oriented programming.
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
Get hands-on with 1400+ tech skills courses.