https://github.com/akashnath420/developing-a-menu-based-application
Using only associate relationship in java
https://github.com/akashnath420/developing-a-menu-based-application
associate east-wast-university ewu java object-oriented-programming oop oops-in-java
Last synced: about 1 month ago
JSON representation
Using only associate relationship in java
- Host: GitHub
- URL: https://github.com/akashnath420/developing-a-menu-based-application
- Owner: akashnath420
- Created: 2024-05-06T21:56:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-06T23:56:34.000Z (over 1 year ago)
- Last Synced: 2025-05-19T20:19:36.383Z (5 months ago)
- Topics: associate, east-wast-university, ewu, java, object-oriented-programming, oop, oops-in-java
- Language: Java
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A. Defining Multiple Classes
We want to develop a minimal, simple object-oriented application for a university.
A university has three major entities: Students, Faculties and Courses.
First, we have to identify the relationships among them.
The following relationship diagram shows the relationships among Student, Course and Faculty
class. Now, we need to develop a menu-based application.
The initial menu may have the following options:
a. Add
b. Delete
c. Update
d. Print
e. Search For each of these options, we may provide further options. Suppose, for ‘Add’ option, next we may show the
following options:
a. Add a Student
b. Add a Course
c. Add a Faculty
For ‘Delete’ and ‘Update’, we may provide the same options. For ‘Print’ option, we may further provide the followings:
a. Print all students
b. Print all course
c. Print all faculties
d. Print information of a student
e. Print information of a course
f. Print information of a faculty
g. Print student list and faculty information of a course
h. Print courses taken by a student Search is very important feature in our application. For ‘Search’ option, we may provide the followings:
a. Search a Student
b. Search a Course
c. Search a Faculty
d. Search whether a student takes a course
e. Search whether a faculty teaches a course
f. Search courses taken by a student
g. Search courses taught by a faculty