System.out.println(n.getY()); code example Example: system.out.println System.out.println("Hello World");