Thursday, August 30, 2007

Class Summary: Tips for compiling our first Java program

This is what we found when compiling and running our HelloWorld programs:
1) We don't have to retype everything. We can copy and paste lines, then modify the lines we paste.
2) Watch out for hidden characters which cause BlueJ to get stuck compiling forever.
3) Make sure all letters/characters are typed exactly as you see them in a CASE program.
4) The name of your BlueJ class when you select "new class" must be typed exactly the same as the name specified in the Java program line, "public class."

0 Comments:

Post a Comment

<< Home