fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. interface I1
  8. {
  9. void main11();
  10. }/* Name of the class has to be "Main" only if the class is public. */
  11. class Ideone implements I1
  12. {
  13. public void main11()
  14. {
  15. System.out.println("dis if frm base class");
  16. }
  17. public static void main (String[] args) throws java.lang.Exception
  18. {
  19. Ideone n=new Ideone();
  20. n.main11(); // your code goes here
  21. }
  22. }
Success #stdin #stdout 0.06s 380160KB
stdin
Standard input is empty
stdout
dis if frm base class