June 2014
Beginner
810 pages
23h 28m
English
CHAPTER 5
![]()
Statements
In this chapter, you will learn:
What Is a Statement?
A statement specifies an action in a Java program, such as assigning the sum of x and y to z, printing a message to the standard output, writing data to a file, etc.
Types of Statements
Statements in Java can be broadly classified into three categories:
Declaration Statement
A declaration statement is used to declare a variable. You have already been ...