Change Contents of the Bubble
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Questions on HW1-Spring07

Question: I put my method into the 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???

Question: Just wondering where in 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 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.
I have added it in preferences and hit apply but it doesn't seem to be working. Any suggestions?|

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?

Error: No 'makeReallyWhite' method in 'Picture' with arguments: ()
I keep getting this for my function after I do > and then try to do >p.makeReallyWhite()
I did save after I wrote my function out.
I compiled at the very beginning also.

Link to this Page