Which access modifiers from the ones listed are given by default to a class declared in a namespace?
A class that is located directly in the namespace is a non-nested class. This class can have 2 access modifiers - public and internal. By default, a class has "internal" modifier.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes