JP1 - bt1
JP1 - bt1
JP1 - bt1
Create an abstract class named Student that stores the following details:
- Two string variables named rollno and name
- Abstract method named input()
Final, create a main class named TestStudent, it declares the following variables:
- studentCount: the number of the actual student in the array (static)
- Student2 [] arr: store array of Student2.
Use the switch-case and loop statements to displays a following menu and allows
exiting the application if only exit function is chosen.
1. Add Student
2. Display the pass-students
3. Exit