Explore BrainMass

Explore BrainMass


    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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 testStud.java 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.

    © BrainMass Inc. brainmass.com December 24, 2021, 5:03 pm ad1c9bdddf

    Solution Summary

    Java help is given.