logo

Object-Oriented Design Choices in Future College Console Program

Write a critical report about program design and development, assessing the solution, approach taken, and thoughts about using Java for object-oriented programming.

13 Pages1508 Words247 Views
   

Added on  2023-05-28

About This Document

The report elaborates on the object-oriented design choices made in implementing future college application. The object-oriented design choices made are encapsulation, polymorphism, and packaging of the classes in the program. Codes and screenshots to verify the use of the OOP concepts are pasted in the report. The report also contains an answer to whether the choices for the design were correct or wrong.

Object-Oriented Design Choices in Future College Console Program

Write a critical report about program design and development, assessing the solution, approach taken, and thoughts about using Java for object-oriented programming.

   Added on 2023-05-28

ShareRelated Documents
Name
Institution
Course
Instructor
Object-Oriented Design Choices in Future College Console Program_1
Table of contents
Introduction.................................................................................................................................................3
Encapsulation..............................................................................................................................................4
Access modifiers......................................................................................................................................5
Constructor..............................................................................................................................................6
Method....................................................................................................................................................6
Polymorphism.............................................................................................................................................9
Packaging...................................................................................................................................................11
Choices......................................................................................................................................................12
References.................................................................................................................................................13
Object-Oriented Design Choices in Future College Console Program_2
Introduction
The report elaborates on the object-oriented design choices made in implementing future college
application. The object-oriented design choices made are encapsulation, polymorphism, and
packaging of the classes in the program. Codes and screenshots to verify the use of the OOP
concepts are pasted in the report. The report also contains an answer to whether the choices for
the design were correct or wrong.
Object-Oriented Design Choices in Future College Console Program_3
Encapsulation
Encapsulation has been used in the future college console program. Encapsulation is the
packaging of codes, variables, methods and related data and information as one unit of execution
(Santos, 2014). This has been done with the use of classes, methods, and constructors in the java
codes below. The classes consist of get, set and return methods, constructors and access
modifiers.
Future college program has many classes that contain methods, constructors, access modifiers
and variables. The classes are course manager, enroll manager, pay fees manager, student
manager, course, enroll, pay fee, student, future college, Course io, enroll io, pay fee io, student
io and student console.
The classes are of great significance in the future college program because they are used to store
data on various objects and entities. This has been done through the use of get and set methods
used in the classes in the program.
The following codes and screenshots show the use of classes
public class Course {
private int id;
private String name;
public Course(int id, String name) {
this.id = id;
this.name = name;
}
public int getId() {
return id;
} public void setId(int id) {
this.id = id;
} public String getName() {
return name;
Object-Oriented Design Choices in Future College Console Program_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
OOPS Programming Concept: Bank Account Simulation Program in Java with Inheritance and Encapsulation
|10
|1366
|278

Design and Testing of Bank Account and Loan Account Classes in Java
|8
|1340
|24

Java Programming | Assignment
|9
|834
|20

OOPS Concepts: C++
|10
|1216
|314

Design and Development of Bright College Management System using Java
|20
|3723
|151

Concept of Data Encapsulation
|10
|2878
|302