You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Hello.java 358B

12345678910111213141516
  1. public class Hello {
  2. public static void main(String[] args) {
  3. sayHello();
  4. }
  5. public static void sayHello() {
  6. System.out.println("Hello");
  7. sayWorld();
  8. }
  9. public static int sayWorld() {
  10. System.out.println("World");
  11. return 0;
  12. }
  13. }