Solved

What Is the Difference Between Struct and Class in Terms

Question 2

Multiple Choice

What is the difference between struct and class in terms of Access Modifier?


A) by default all the struct members are private while by default class members are public.
B) by default all the struct members are protected while by default class members are private.
C) by default all the struct members are public while by default class members are private.
D) by default all the struct members are public while by default class members are protected.

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents