Question
Q1. Write a Java program that consists of at least three classes for Students, Employees and Courses registration in University. The program should be fully
Q1. Write a Java program that consists of at least three classes for Students, Employees and Courses registration in University. The program should be fully documented, and the following concepts should be applied:
1. Defining a constructor with and without arguments. (3 Marks)
2. Use the setter, getter and toString methods. (3 Marks)
3. Sending an object/s to a method and returning it as a return value. (3 Marks)
4. Defining array of objects and using loop/s and Scanner object/s for data entry. (3 Marks)
5. Defining the main method that integrates the whole project. (3 Marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started