pastebin

Paste Search Dynamic
Recent pastes
Printable
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. interface printable{
  6. void print();
  7. }
  8.  
  9. interface Showable{
  10. void show();
  11. }
  12.  
  13. class A7 implements printable,Showable{
  14.  
  15. public void print(){system.out.println("Hello");}
  16. public void show(){system.out.println("Welcome");}
  17.  
  18. public static void main(string args[]){
  19. A7 obj = new A7();
  20. obj.print();
  21. obj.show();
  22.  }
  23. }
  24.  
Parsed in 0.037 seconds