What is @override use for? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What is @override use for?

@override

9th May 2019, 10:45 AM
Amir Afsari
Amir Afsari - avatar
1 Resposta
+ 2
I'd add that using the @Override tag is never compulsory, but highly recommended, since it increases readability of your code and helps to avoid potential bugs due to an incorrect implementation (compiler knowing your intentions will give you warning/throw an error if something goes wrong)
9th May 2019, 11:29 AM
{ š„‹ ā„’ š„‹ }
{ š„‹ ā„’ š„‹ } - avatar