Beginner Swift
Q24 / 100

What is Swift's access control default?

Correct! Well done.

Incorrect.

The correct answer is C) internal

C

Correct Answer

internal

Explanation

Declarations in Swift default to internal access — accessible within the same module but not outside. open is the most permissive (subclassable from other modules).

Progress
24/100