Homework tips
I've noticed that people are making the same mistakes over and over on the homeworks. Hopefully this will help you guys out.
- Remember to include your name, email address in the files you turn in.
- Remember to write comments explaining what you're doing.
- Only turn in java files. Example: If the assignment says to turn in MySong.java, make sure you turn in the right file and not "MySong.java~" or "MySong.class".
- Make sure that you turn in all the necessary files. One way to test this is to download your submission into a new folder and test it out.
- Make sure that your main method looks like this:
public static void main (String[] args)
- Make sure you properly indent your files. Example:
public static void main (String[] args) {
String s = "hello world";
}
- Make sure that the name of the class you're working on is the same as the filename (without the .java of course). Example: MyClass.java should contain MyClass. Case matters! myClass will not work.
Link to this Page
- Soapbox-Sp2005 last edited on 9 August 2005 at 10:54 am by user-1121osu.dialup.mindspring.com