Ad
Code
Diff
  • public class Main {
      public static void main(String[] args) {
        Fight fight = new Fight();
        // do your magic here!
        System.out.println("Hello world!");
        fight.introduceYourself("Mateusz");
      }
    }
    
    
    class Fight {
      // do your magic here!
      static void introduceYourself(String name) {
        System.out.println("Hi, my name is " + name);
      }
    }
    • public class Main {
    • public static void main(String[] args) {
    • Fight fight = new Fight();
    • // do your magic here!
    • System.out.println("Hello world!");
    • fight.introduceYourself("Mateusz");
    • }
    • }
    • class Fight {
    • // do your magic here!
    • // do your magic here!
    • static void introduceYourself(String name) {
    • System.out.println("Hi, my name is " + name);
    • }
    • }

Show some tricks you would like to show off :)

public class Main {
  public static void main(String[] args) {
    Fight fight = new Fight();
    // do your magic here!
    System.out.println("Hello world!");
  }
}


class Fight {
  // do your magic here!  
}