Explore BrainMass


Here is a public class called Student

Public class Student {
public int studID = 0;
public char studGrade = 'F';}

Use Notepad to write a test class called which will instantiate an object called myStudent. Use the object to write print statments to print the current values of the two attributes. Next, use the object to change the studID to 127 and the studGrade to an A. Write code that will display the two attributes studID and studGrade.

Solution Summary

Java help is given.