| ||||||||||
Question: I put my method into the Picture.java file and the only error that keeps coming up is: 'class' or 'interface' expected. I followed the instructions from the book but it keeps bringing up this error and I dont know what it means or how to fix it. |
Question: What does it mean that we cannot use other methods for our HW assignment. can we use the simple methods such as length, etc or do we have to create those??? |
public void myDecreaseRed(){ decreaseRed(); }But you are more than welcome to use the methods already in Picture.java as a guide (in fact we encourage it). -Dawn Finney
Question: Just wondering where in Picture.java i should put my methods and what i should name them so the TA knows those methods are the ones i created? Jonathan |
Question: Can our method return something? Laura |
Question: I've created my method in the Picture.java file – but I can't seem to use the method... actually I can't even declare a new Picture p variable – Dr.Java just keeps saying "Error: Undefined class (blah blah)"... for EVERYTHING! |
Question: Drjava works but it can't find the java-source. |
Question: After compiling my method I get the error: "reached end of file while parsing" on the last line of my method - which is just a parenthesis. What could be the reason for this error? How can I correct this? |
public void makeReallyWhite()-Dawn Finney