In the previous section, you tidied up your
code a bit. Here's what your coding window should look like now:
You can see we have the package name first. Notice how the line ends with a semicolon. If you miss the semicolon out, the program won't compile:
The class name comes next:

You can see we have the package name first. Notice how the line ends with a semicolon. If you miss the semicolon out, the program won't compile:
package firstproject;
public class FirstProject
{
}
No comments:
Post a Comment