0

@Override

Okay, I understand @override method partially in java. I need help. I need to understand it seriously...Help

7th Sep 2017, 4:45 PM
Amos Aidoo
Amos Aidoo - avatar
1 Answer
+ 16
If your class inherits from another class with a specific method, you can override/re-write that method (change its functionality) in the new class with the annotation @Override otherwise it will keep the code it inherited from its parent...
7th Sep 2017, 5:07 PM
Valen.H. ~
Valen.H. ~ - avatar