Class Main

java.lang.Object
  |
  +--Main

public class Main
extends java.lang.Object

This class is only a driver to show how to use a builder pattern. The factory is about computer accounts of various classes referred to as Economy, Standard and Professional. For the purpose of this exercise, only Economy accounts are implemented.


Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] loginIDarray)
          Standard entry.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] loginIDarray)
Standard entry. The program reads a single integer. The integer stands for a login id. Different ranges of ids give accounts of different classes.