CC 103 PrelimProject
CC 103 PrelimProject
1. Create a class name Student with five attributes and 3 methods. Write an appropriate
code implementation for each method that will print information of students.
2. Write a class named Dog that will contain two instance String variables and one int
attribute for name, color, and age which are local to method adoptDog. The adoptDog
method is intended to be accessed outside the class.