{40 points} Write a program using proper Object Oriented Programming (including good encapsulation) for a Student class. Work from the starter code provided. Your code should extend and complete the TO DO items in the file (you need to finish the implementation of both the OOP class methods and the test code in main). See details in the starter code. Student class will Store data or attribute values for a student's name, age, and current residence hall • Allow variables of type Student to be created (these are objects) Provide a way for a student object to change its residence hall Compare two students and decide if they are in the same residence hall • Allow some or all of the information on a student to be printed out when requested Work from the starter code Student java provided. Main is provided in the starter code but extensions are necessary. For the TO DOs, add pseudo code for the additions you make. Ensure you follow proper OOP programming and style requirements as we have learned in class. BE SURE TO SHOW ADEQUATE PSEUDO CODE to explain your work and show that you did THINK BEFORE PROGRAMMING.
{40 points} Write a program using proper Object Oriented Programming (including good encapsulation) for a Student class. Work from the starter code provided. Your code should extend and complete the TO DO items in the file (you need to finish the implementation of both the OOP class methods and the test code in main). See details in the starter code. Student class will Store data or attribute values for a student's name, age, and current residence hall • Allow variables of type Student to be created (these are objects) Provide a way for a student object to change its residence hall Compare two students and decide if they are in the same residence hall • Allow some or all of the information on a student to be printed out when requested Work from the starter code Student java provided. Main is provided in the starter code but extensions are necessary. For the TO DOs, add pseudo code for the additions you make. Ensure you follow proper OOP programming and style requirements as we have learned in class. BE SURE TO SHOW ADEQUATE PSEUDO CODE to explain your work and show that you did THINK BEFORE PROGRAMMING.
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter11: Inheritance And Composition
Section: Chapter Questions
Problem 12PE
Related questions
Question
Fill out the starter code
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning