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!
}
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
// TODO: Replace examples and use TDD by writing your own tests
class ExampleTest {
@Test
void testSomething() {
// assertEquals("expected", "actual");
}
}