Class MainMeal

java.lang.Object
  extended by MainMeal

public class MainMeal
extends java.lang.Object

The MainMeal class is designed to test the two classes MealCard and Student. The classes MealCard and Student are to be written by my CSC 211 students. It is Homework 5, for Fall quarter, 2005-06.


Constructor Summary
MainMeal()
           
 
Method Summary
static MealCard createMealCard()
          Prompts the user for all necessary data to create a MealCard object.
static void main(java.lang.String[] args)
          A driver to test MealCard and Student classes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMeal

public MainMeal()
Method Detail

main

public static void main(java.lang.String[] args)
A driver to test MealCard and Student classes


createMealCard

public static MealCard createMealCard()
Prompts the user for all necessary data to create a MealCard object. Creates a MealCard object containing the data entered.

Parameters:
-
Returns:
mc, a MealCard object