top examplets

Empty Application

Here's an empty, do-nothing application. In real life, you'd at least put stuff in main().


// EmptyApp.java

// A do-nothing app

class EmptyApp
  {


  // The main method.

  public static void main (String[] args)
    {}


  }

To compile this application using the Sun JDK, enter this command:

     javac EmptyApp.java

To run it, enter this command:

     java EmptyApp

See also


Copyright (c) 1997 by Wayne E. Conrad, All Rights Reserved
Last Updated May 6, 1998
This page has been accidentally visited times since May 1st, 1998.
HTML DTD Validated Best Viewed With Any Browser

This page hosted by Get your own Free Home Page