due Friday, Aug 30 before class:
due Wed, Sept 4 before class:
due Fri, Sept 6 before class:
Optional: If you have your own laptop, it is also a good time to get everything working on it. You can download Netbeans (see instructions on Links page) and also try running WileyPlus. To run Labrat, you will need the Java JDK which you have downloaded with Netbeans. You may or may not also separately need to download the Java Runtime Environment. If you have problems, bring your comptuer to class to get help from the instructor or lab assistant.
Instructions for writing your first program:
Creating a New Class: Right click on the project name in the Projects tab (left side of window). Select New->Java Class. For the Class Name, enter MyFirstClass and then click the Finish button. A new panel should open. Its tab name should be MyFirstClass.java.
public class MyFirstClass {
}
Add code so that the final program looks like (pay careful attention to the indentation):
public class MyFirstClass {
public static void main(String[] args) {
System.out.println("Hello Willamette!");
}
}
Save your code but clicking the save button Congratulations, you have just written and run your first program!
What Just Happened?: Now, exit Netbeans and navigate to your CS141\Practice folder. Look at what folders and files are stored there.
Now try on your own some of the exercises in our text starting on page 25, or, if you are using the online version, go to "Read, Study, & Practice", Chapter 1, Programming Exercises
In class, we will work on several practice programming problems (Labrat) on the WileyPlus website. Please make sure you understand how it works. It is important that you get help if you are having problems.