Sign in with
Sign up | Sign in
Your question

[Solved] JAVA - student program

Last response: in Applications
Share
December 11, 2012 5:06:53 AM

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.
a b L Programming
December 11, 2012 8:17:05 AM

We aren't here to do your homework, you know.
m
0
l
a b L Programming
December 11, 2012 8:33:44 AM

That should keep you busy for a while. Let us know how it goes.
m
0
l
January 12, 2013 9:03:46 AM

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.
m
0
l
!