Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A
- {
- public void myMethod()
- { /* ... */ }
- }
- class B extends A
- {
- public void myMethod()
- { /* Another code */ }
- }
- public void myMethod()
- {
- // B stuff
- super.myMethod();
- // B stuff
- }
- super.baseMethod(params);
Add Comment
Please, Sign In to add comment