Skip to main content

CS101: Introduction to Computer Science I

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS101: Introduction to Computer Science I /
  • Unit 3: Java Fundamentals /
  • 3.1: HelloWorld.java
Back to 'Unit 3: Java Fundamentals'
  • 3.1: HelloWorld.java

      • 3.1.1: Class and File Naming Conventions

        • Central Connecticut State University: Bradley Kjell's "Introduction to Computer Science Using Java, Chapter 6: Small Java Programs"

          Please read through the first three pages of this chapter. These three pages discuss the naming conventions as well as the reserved words in Java programming language. If you wrote the Hello.java program as mentioned in sub-subunit 1.3.5.2, then this section might be a little review for you.

      • 3.1.2: Importing Libraries

        •  "Importing Libraries in Java" URL

          Please read this article. Java classes and interfaces can be organized into packages to group related types and for name-space management.

      • 3.1.3: Declaring a Class

        •  Central Connecticut State University: Bradley Kjell's "Introduction to Computer Science Using Java, Chapter 6: Small Java Programs" URL

          You first encountered this chapter in sub-subunit 3.1.1. Continue reading this chapter from page 4 to the end. Alternatively, you may decide to read the entire chapter, reviewing pages 1 - 3. The chapter discusses common syntax errors in Java as well as guidelines to fix those errors. The last section of this chapter provides instructions on adding comments inside Java code.

        •  Central Connecticut State University: Bradley Kjell's "Introduction to Computer Science Using Java: Fill in the Blanks Exercise for Chapter 6" URL

          Please think of the appropriate answer to fill in the blank for each question.

      • 3.1.4: Compiling and Executing a Java Program

        •  Central Connecticut State University: Bradley Kjell's "Introduction to Computer Science Using Java, Chapter 7: Running Example Programs" URL

          Please read through the chapter and follow all the steps. This chapter provides step-by-step instructions of writing a Java program using Notepad and then compiling and running this program from command prompt. We can also use NetBeans for writing the same program.

        •  Central Connecticut State University: Bradley Kjell's "Introduction to Computer Science Using Java: Fill in the Blank Exercise for Chapter 7" URL

          Please complete the fill in the blank exercise. Think of the appropriate response to fill in the blanks.

    Navigation

    Art History
    Biology
    Business Administration
    Chemistry
    Communication
    Economics
    English
    History
    Mathematics

    Creative Commons License
    © Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

    Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

    Terms of Use | Privacy Policy