|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--newGradReport
This is the first class, visible to external programs The interactions are done through this class only
| Field Summary | |
static int[] |
CPI
|
static int[] |
cum
|
static java.util.Date |
DateOfBirth
|
static int[] |
DOB
|
static int[] |
grade
|
static int[] |
pass
|
static int |
Roll
|
static int[] |
sem
|
static Student[] |
stu
|
static int[] |
unit
|
| Method Summary | |
static int |
calAge(java.util.Date d)
This function calculates age from date of birth given as parameter |
static void |
createStudent(int Roll,
int pgorug)
This is a constructor which initializes data for student bearing the Roll=r |
static void |
main(java.lang.String[] a)
GIVE COMMAND LINE ARGUMENT "ALL" |
static void |
printAll(int x)
|
static int |
printReport(int RollNumber)
This program prints specific persons report All functionality is in single class |
static void |
read(int Roll,
int pgorug)
This function calculates age from date of birth given as parameter |
static int |
toGrade(java.lang.String g)
This function transforms grades A,B,C,D,E,F into 10 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static Student[] stu
public static int[] CPI
public static int[] grade
public static int[] cum
public static int[] pass
public static int Roll
public static int[] DOB
public static java.util.Date DateOfBirth
public static int[] sem
public static int[] unit
| Method Detail |
public static void createStudent(int Roll,
int pgorug)
public static int calAge(java.util.Date d)
public static void read(int Roll,
int pgorug)
public static int toGrade(java.lang.String g)
public static void printAll(int x)
public static int printReport(int RollNumber)
public static void main(java.lang.String[] a)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||