If no access modifier is specified for a class or a structure, it is considered .....

Options
- private
- public
- internal
- protected


CORRECT ANSWER : internal

Discussion Board
Sorry!! Vithal you are wrong.

Classes and structs that are declared directly within a namespace (in other words, that are not nested within other classes or structs) can be either public or internal. Internal is the default if no access modifier is specified. Check stackoverflow and microsoft pages.

Koushik Das 10-30-2017 01:13 AM

If no access modifier is specified for a class or a structure, it is considered .....

WRONG
Default access modifier is private

Vithal Bhat 07-13-2017 10:23 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement