/** * File name: Look.java * * This example illustrates the use of static methods * The point is that you can access a static method * without creating an instance of the class. * Below, the method is "LookOut.world". */ class LookOut { public static void world(){ System.out.println("Look out, World!"); } } class Look { public static void main(String[] args){ LookOut.world(); } }