[Solved] JAVA - student program

Status
Not open for further replies.

tejasrr19

Honorable
Dec 11, 2012
1
0
10,510
Write an application with the following constraints.

For students - maintain the subjects taken and their respective grades; add a course with grade, print all subjects taken and the average grade.
A student takes no more than 30 subjects for the entire program.
For teachers - maintain the subjects taught currently, and able to add or remove a course taught. A teacher teaches not more than 5 subjects concurrently and can take maximum of 10 subjects.

Also have the attributes as name, age, gender and address for both students and teachers

Use inheritance effectively to write the above application and see if you can use polymorphism along with inheritance.
 

ericlewis107

Honorable
Dec 1, 2012
3
0
10,510
Java is more platform independent, it runs on several operating systems including Windows, Mac and Linux. . Net is primarily for Windows. Although the open source project Mono is developing a multi-platform run time for .Net, so this is less of an issue than it used to be.
 
Status
Not open for further replies.