COSI 11a Chapter 1: Introduction to Java Programming Outline

115 views2 pages
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
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions