12. Is there any restriction of using public or private in classes? In structures?

Is there any restriction of using public or private in classes? In structures?
Nusrat NuriyevAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
In short: No. You can even mix the declaration sections, change their orders or apply these modifiers to each member individually.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.