Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- classA {
- void method(Param param) {
- // nothing here
- }
- }
- classB extends classA {
- void method(Param param) {
- this.param = param;
- super.method(param);
- }
- }
- classC extends classB {
- void method(Param param) {
- // do some stuff here
- super.method(param);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment