Question: JAVA Programming BASIC CONCEPTS OF CLASSES Given the declaration of Student class. Class Student { Private stringt stuName; Private int stuID; Private string stuProgram; Private

JAVA Programming BASIC CONCEPTS OF CLASSES

Given the declaration of Student class.

Class Student { Private stringt stuName; Private int stuID; Private string stuProgram; Private string stuGroup; }

1. In Student class: a. Update data member in Student class with the following: i. stuName: String ii. stuId: int iii. stuProgram: String (example: CS230, CS245) iv. stuGroup: char (example A, B, C) v. stuSem: int (ex: 1,2,3,4) b. Write mutator an accessor to newly adder data member. JAVA Programming BASIC CONCEPTS OF CLASSES Given the declaration of Student class. Class Student { Private stringt stuName; Private int stuID; Private string stuProgram;

Write a method subjects (String program) to do display subject taken based on nrogram. d. Write a method subjects(String program, int part) to display subject based on semester. 2. In main method: a. Add student semester information into existing student record. b. Prompt user to enter student ID and print the student information. c. Prompt user to enter program and print student name that enroll to that program. d. Prompt user to enter program and print list of subject taken. e. Prompt user to enter program and semester information to print list of subject taken by semester

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!