Java Reference
In-Depth Information
CHAPTER
B ASIC E LEMENTS OF J AVA
IN THIS CHAPTER, YOU WILL:
.
Become familiar with the basic components of a Java program, including methods, special
symbols, and identifiers
.
Explore primitive data types
.
Discover how to use arithmetic operators
.
Examine how a program evaluates arithmetic expressions
.
Explore how mixed expressions are evaluated
.
Learn about type casting
.
Become familiar with the String type
.
Learn what an assignment statement is and what it does
.
Discover how to input data into memory by using input statements
.
Become familiar with the use of increment and decrement operators
.
Examine ways to output results using output statements
.
Learn how to import packages and why they are necessary
.
Discover how to create a Java application program
.
Learn how to understand and correct syntax errors
.
Explore how to properly structure a program, including using comments to document a program
.
Learn how to avoid bugs using consistent and proper formatting, and code walk-through
.
Learn how to do a code walk-through
 
 
Search WWH ::




Custom Search