Class newGradReport

java.lang.Object
  |
  +--newGradReport

public class newGradReport
extends java.lang.Object

This is the first class, visible to external programs The interactions are done through this class only


Field Summary
static Student[] stu
           
 
Method Summary
static void createStudent(int Roll, int pgorug)
          This function populates the student object
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 RollNumber)
          Prints report of a specific student
static void read(int Roll, int pgorug)
          This function takes data from the database and use it to initialize the data
static int toGrade(java.lang.String g)
          This function coverts grade into integer form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stu

public static Student[] stu
Method Detail

createStudent

public static void createStudent(int Roll,
                                 int pgorug)
This function populates the student object


read

public static void read(int Roll,
                        int pgorug)
This function takes data from the database and use it to initialize the data


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 grade into integer form


printReport

public static int printReport(int RollNumber)
Prints report of a specific student