New problem after speaking with my teacher emerge.
/**
* Write a description of class Student here.
*
* @author (Landon L.)
* @version (a version number or a date)
*/
public class...
Type: Posts; User: llowe29
New problem after speaking with my teacher emerge.
/**
* Write a description of class Student here.
*
* @author (Landon L.)
* @version (a version number or a date)
*/
public class...
i figured out wasnt asking right questions
oh i thought you meant setQuiz(1,90) again
--- Update ---
Right it doesnt work, sometimes.
yes it does
What I had
/**
* Write a description of class Student here.
*
* @author (Landon L.)
* @version (a version number or a date)
*/
public class Student
But this works though I dont know if when the tester program that involves insertions and deletions will, if what youre saying is a problem???
The only problem is that the getter and setter are...
right assigned to left, but Im not sure of your point
--- Update ---
But I dont think I can without having the getQuiz method working
So, if I am undertanding you correctly my set quiz method is correct.
now the problem is the get quiz method Ill show you the updated method
/**
* Write a description of class Student here.
*
* @author (Landon L.)
* @version (a version number or a date)...
so like:
if(num == 1)
grade = qz1;
else if(num == 2)
grade = qz2;
........................
but how to correlate quiz number and quiz score is my question
create a getQuiz() method that takes in a quiz number as input and
then returns the appropriate quiz value. Likewise, setQuiz() will take as input
a quiz number and quiz score, and then put the...
the question is indicated in the commented out part. What to do in the getQ/setQ methods
/**
* Write a description of class Student here.
*
* @author (Landon L.)
* @version (a version number or a date)
*/
public class Student
{
// instance variables - replace the...