You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-05-26 05:40:48
Access Modifier:
Question:
What is the Difference between struct and class in terms of Access Modifier?
Option A):
By default all the struct members are public while by default class members are protected.
Option B):
By default all the struct members are public while by default class members are private.
Option C):
By default all the struct members are private while by default class members are public.
Option D):
By default all the struct members are protected while by default class members are private.
Correct Answer is Option B):
By default all the struct members are public while by default class members are private.
Failure is the first step towards seccess.
Offline
2015-05-26 05:40:48
- Advertisement
- Ads By Google
Re: Access Modifier:
\n
Pages:: 1