Purchase Solution

Java

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

Solution Summary

Java help is given.

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Javscript Basics

Quiz on basics of javascript programming language.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.