Question: Create a class named 'Student' with a string variable 'name' and an integer variable 'rollno'. Assign the value of rollno as ' 2 ' and
Step by Step Solution
There are 3 Steps involved in it
The question is incomplete which is causing some confusion It includes errors and inconsistencies especially regarding the assignment and printing of ... View full answer
Get step-by-step solutions from verified subject matter experts
