Starting the Example

Starting the Example – Computer Science 30S

NOTE: you can find another copy of this example on the GitHub branch here

  • Throughout the course we will continue to build on a large example that will help you learn the content and have a reference for you when you complete assessments
  • From NetBeans, create a new project “Java with Ant” and “Java Application” (if using the latest version of NetBeans):

Capture(32)

  • Now, give the project a name(like “ComputerScience30S”) and a location on your computer, and leave the check mark to “Create Main Class” checked off:

Capture(1)(7)

  • Now add code (and any comments you wish) after the words “public static void main…” as seen:

Picture1(7)

  • Run the application to make sure you have no errors!

The NEXT thing to read/watch is the “Basic Inputs / Outputs” content page