Class newGradReport

java.lang.Object
  |
  +--newGradReport

public class newGradReport
extends java.lang.Object


Field Summary
static PostGrad[] pstu
           
static UnderGrad[] ustu
           
 
Method Summary
static void createStudent(int Roll, int pgorug)
          Create student object for given roll number
static void main(java.lang.String[] a)
          GIVE COMMAND LINE ARGUMENT "ALL" FOR PRINTING ALL STUDENTS DATA GIVE COMMAND LINE ARGUMENT "ONE FOR PRINTING ONE STUDENTS DATA
static void printAll(int x)
          Prints the data of all students upto Roll Number x
static int printReport(int x)
          Print report for a particular student bearing roll number x
static void read(int Roll, int pgorug)
           
static int toGrade(java.lang.String g)
          This function coverts grades into integer form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pstu

public static PostGrad[] pstu

ustu

public static UnderGrad[] ustu
Method Detail

createStudent

public static void createStudent(int Roll,
                                 int pgorug)
Create student object for given roll number


read

public static void read(int Roll,
                        int pgorug)

main

public static void main(java.lang.String[] a)
GIVE COMMAND LINE ARGUMENT "ALL" FOR PRINTING ALL STUDENTS DATA GIVE COMMAND LINE ARGUMENT "ONE FOR PRINTING ONE STUDENTS DATA


printAll

public static void printAll(int x)
Prints the data of all students upto Roll Number x


toGrade

public static int toGrade(java.lang.String g)
This function coverts grades into integer form


printReport

public static int printReport(int x)
Print report for a particular student bearing roll number x