fork download
  1.  
  2. class Parent {
  3.  
  4. }
  5.  
  6. interface GG {
  7. public void example();
  8. }
  9.  
  10. class BallsOfSteel extends Parent implements GG {
  11. public void example() {
  12. System.out.println("I've got balls of steel");
  13. }
  14. }
  15. class main{
  16. public static void main(String[] abc) {
  17. BallsOfSteel bos = new BallsOfSteel();
  18. bos.example();
  19. }
  20. }
Success #stdin #stdout 0.07s 380160KB
stdin
Standard input is empty
stdout
I've got balls of steel