0

What is @override in java ?

I'm not able to understand override..can you help me with the most simplest example ?

19th Sep 2020, 11:13 AM
suryapoojary
suryapoojary - avatar
1 Antwort
0
Its give information to compiler that this function is override. If its not, compiler return an error. If function is override but not correct - it shows you that you overriding is incorrect. Without @override it just make new function.
19th Sep 2020, 11:38 AM
Derlas Forenly
Derlas Forenly - avatar