Intermediate Flutter
Q67 / 100

What is Dart's null safety feature?

Correct! Well done.

Incorrect.

The correct answer is B) A compile-time type system feature distinguishing nullable (String?) from non-nullable (String) types, preventing null errors at compile time

B

Correct Answer

A compile-time type system feature distinguishing nullable (String?) from non-nullable (String) types, preventing null errors at compile time

Explanation

Dart's sound null safety means types are non-nullable by default. You must explicitly declare nullable types with ? (e.g., String?). This eliminates null reference exceptions at compile time and improves app reliability.

Progress
67/100