Is @override compulsory?

Ngân Lam

New member
Is @override compulsory?
Answer
The @Override annotation allows the compiler to ensure you’re actually overriding a method or implementing an interface method (Java 6+). … It’s not mandatory, but it’s a good idea, and is free help from the compiler.
 

Tìm kiếm

Back
Top