[Solved] JAVA - student program

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.
3 answers Last reply
More about solved java student program
  1. We aren't here to do your homework, you know.
  2. That should keep you busy for a while. Let us know how it goes.
  3. 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.
Ask a new question

Read More

Programming Java Apps