<<< Declaring main Method | Index | The rules for naming a class >>> |
The class InvoiceApp provides a main method:
public class InvoiceApp // declare the class { // begin the class public static void main(String[] args) { System.out.println( "Welcome to the Invoice Total Calculator"); } } // end the class
<<< Declaring main Method | Index | The rules for naming a class >>> |