ECE25100 Assignment 3.pdf 1 1 7 In this assignment you will simulate a database
ID: 3736893 • Letter: E
Question
ECE25100 Assignment 3.pdf 1 1 7 In this assignment you will simulate a database keeping track of students registered in courses at Purdue University Northwest. The purpose of the assignment is to get used to using ArrayLists as well as getting more experience in having objects interact together. PART A: Implement a class called Student that has these private instance variables name - a String indicating the name of the student. year - studentNumber an int representing the student number an int indicating the year that the student began his/her Implement the following instance methods get methods for all instance variables .A zero-argument constructor with reasonable default values A constructor that accepts as arguments the student's name, number and starting year A toString0 method that returns a string representation of the student like this: Ralph Smith #100654321 (2018) Pag e 2/7 PART : Implement a class called Course that has these private instance variables: 5:55 PM Type here to search 3/24/2018Explanation / Answer
Student.java
Course.java
Output:
Tommy Lauren #100654321 (2016)
BIOL10100-Introductory Biology I
Your Image C) does not contain full testProgram2. I am not able to put the program and test. But I am sure it will work fine.
University.java
I answered only first 4 questions that are A,B,C,D.
THANKS
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.