Advanced
Flutter
Q99 / 100
What does the @override annotation signify in Dart?
Correct! Well done.
Incorrect.
The correct answer is B) It signals that the method intentionally overrides a superclass method; the analyzer warns if no matching superclass method exists
B
Correct Answer
It signals that the method intentionally overrides a superclass method; the analyzer warns if no matching superclass method exists
Explanation
@override indicates the method is intentionally overriding a superclass or interface method. If no such method exists in the superclass, the Dart analyzer produces a warning, helping catch typos and method signature mismatches.
Progress
99/100