N Ngân Lam New member Dec 28, 2021 #1 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.
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.