Question: Write a Java program to create a class named Test with the following: a) Declare instance variables: ID, StuName, Mark b) Declare the following: i)
Write a Java program to create a class named Test with the following:
a) Declare instance variables: ID, StuName, Mark
b) Declare the following:
i) constructor with three parameters
ii) show( ) to display the object values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
