Advertisement
Guest User

UML

a guest
Jun 24th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. interface A{
  2.  
  3. public int f(int p){
  4. }
  5. public int g(){
  6. }
  7.  
  8. }
  9.  
  10. abstract class B{
  11.  
  12. public int op(A m){
  13.  
  14.     return 0;
  15. }
  16.  
  17. }
  18.  
  19.  
  20. class E implements A{
  21.  
  22. private int[] q=new int(*);
  23.  
  24. public int f(int p){
  25.     return 0;
  26.     }
  27. public int g(){
  28.     return 0;
  29.     }
  30.  
  31. }
  32.  
  33. class H{
  34. protected E k;
  35.  
  36. public int w(B r){
  37.     return 0;
  38.     }
  39. }
  40.  
  41.  
  42.  
  43. class C extends B{
  44.    
  45. public int op(A m){
  46.     return 0;
  47. }
  48.  
  49. }
  50.  
  51. class D extends B{
  52. public int op(A m){
  53.     return 0;
  54. }
  55.  
  56.  
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement