COSI 11a Chapter 1: Introduction to Java Programming Outline
Chapter 1 Outline
Introduction to Java Programming
Pages 1 – 60
I. Basic Computing Concepts
A. Hardware and Software
1. The CPU executes the instructions.
2. RAM is used to store programs that are being executed.
B. Process of Programming
1. A compiler translates into machine language to allow for a program that can be executed by
the computer.
II. Java
A. String Literals (Strings)
1. All code in Java must exist in a class. The class name and file name must match.
2. After classes, methods are the next smallest unit of code. A method represents a single
computation to be performed. Every program requires at least one method called main. The main
method syntax is:
public static void main(String[] args)
B. System.out.println
1. The simplest form of the println statement has nothing inside and produces a blank line. The
syntax is:
System.out.println();
C. Escape Sequences
find more resources at oneclass.com
find more resources at oneclass.com