1. Home
  2. Computing & Technology
  3. Java
Paul Leahy
Paul's Java Blog

By Paul Leahy, About.com Guide to Java

Java Term of the Week: Statement

Saturday June 20, 2009

If expressions are akin to clauses in the English language, then statements are like sentences. A sentence forms a complete idea which can include one or more clauses. Likewise, a statement in Java forms a complete command to be executed and can include one or more expressions.

There are three main groups that encompass the different kinds of statements in Java:

  • Expression statements: these change values of variables, call methods and create objects.
  • Declaration statements: these declare variables.
  • Control flow statements: these determine the order that statements are executed.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Readers Respond
What Do You Think of Jadeite?
Add Your Response

Recent Blog Posts
Explore Java
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Java

©2009 About.com, a part of The New York Times Company.

All rights reserved.