[Solved] Create a class Student with attributes name(String) and registrationNo(int)
Create a class Student with attributes name(String) and registrationNo(int) and a method show to display the attributes of the Student. Write a menu driven program with 2 choices to take the input of the student attributes and display the attributes.…