This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS 240 Laboratory Exercise 0 The purpose of this exercise is to familiarize you with the laboratory equipment and the NetBeans environment. During the first lab period your teaching assistant will walk you through the basic steps needed to log onto the network of personal computers, start NetBeans, enter a simple program, execute the program, and print the source code. Please note that this lab is optional and will not be graded. After you have successfully entered the NetBeans environment, create a new Java application and enter the code shown on the next page in the appropriate locations (please note you can do cut-and-paste from the assignment file to save some time). Java is a free form language so spacing is not important. In fact, anywhere one space can appear, more than one space can appear (e.g. else if is the same as else if ). The only exception to this rule are spaces inside of strings (sequences of characters enclosed between double quotation marks) such as "A B" and "A B" . We generally use spacing to improve the readability of the source code. generally use spacing to improve the readability of the source code....
View Full Document
This note was uploaded on 05/03/2010 for the course CS 240 taught by Professor Staff during the Spring '08 term at Wright State.
- Spring '08
- Computer Programming