shmoula

Untitled

Sep 2nd, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. classA {
  2. void method(Param param) {
  3. // nothing here
  4. }
  5. }
  6.  
  7. classB extends classA {
  8. void method(Param param) {
  9. this.param = param;
  10. super.method(param);
  11. }
  12. }
  13.  
  14. classC extends classB {
  15. void method(Param param) {
  16. // do some stuff here
  17. super.method(param);
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment