Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. public interface KlasaInterfejsowa {
  2. void pierwsza(int a);
  3. void druga(String b);
  4. void trzecia();
  5. }
  6.  
  7. public class KlasaAdaptacyjna implements KlasaInterfejsowa {
  8.  
  9. public void pierwsza(int a) {}
  10. public void druga(String b) {}
  11. public void trzecia(){}
  12.  
  13. }
  14.  
  15. public class KlasaPrzykladowa extends KlasaAdaptacyjna implements KlasaInterfejsowa{
  16. @Override
  17. public void trzecia()
  18. {
  19. System.out.println("cos tam ");
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement