academic program class java 1
The AcademicProgram Class
The AcademicProgram class is what is called a super class.
- The attributes (use encapsulation)
- String name;
- int minimumNumberOfCredits;
- ArrayList<Course> requiredCourses;
- two constructors
- one complete with all parameters, one for each attribute
- one with no parameters
- the default values should be
- name – blank String (no spaces)
- minimumNumberOfCredits – 0
- requiredCourses – a new ArrayList<Course>
- the default values should be
- a toString() method that will display information about the object
- you can use the Netbeans automatic builder format
- The “get/set” methods
- no special requirements.
The app Class
Create and display an AcademicProgram object with 3 courses (see below).
name: “Special Studies in Cyber Security”
minimumNumberOfCredits: 9
courses: 3 Course objects
- using the default/no parameter constructor
- using these values
- name – “Cyber”, “100”, “h”
- genEd – “IL” (the GenEd object returned with the find method in GenEdData)
- description – “Computer Systems Literacy”
- credits_min_per_course – 3
- credits_max_per_course – 9
- credits_maximum – 99
- preReq – use the default constructor for CourseName
-
- name – “CYBER”, “262”, “”
- genEd – “GS” (the GenEd object returned with the find method in GenEdData)
- description – “Cyber-Defense Studio”
- credits_min_per_course – 3
- credits_max_per_course – 9
- credits_maximum – 99
- preReq – “Cyber”, “100”, “”
Displaying
- display the name and minimumNumberOfCredits
- display each course in a single line
- use the special string sequence “n” to add a new line to the display
Below a sample output (including part of the necessary code in app)
#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper
#Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational
