Java   View all facts   Glossary   Help
syntactic unit > statement
Next syntactic unitsymbol    Upsyntactic unit    Previous syntactic unitscoping unit   

statement comparison table
Subject have syntax have example occur be part of is part of has definition have purpose be contain is a subtopic of is a synonym of import divide into locate
control flow statement      to control the flow of execution of a programnot more than one line long if possible Loops and Decision Makingcontrol statement   
expression statement     An expression followed by a semicolon not more than one line long if possible Statements and Expressions    
import statement
import packageName.*
OR
import packageName.className
//Import the Circle class from the graphics package
import graphics.Circle;

//Import the entire graphics package
import graphics.*;
 definition A statement that permits using references to other packages without prefixesto allow a class to use the facilities of another packagenot more than one line long if possible Packagesimport declaration1 member class of a package or imports on demand 0 or more member classes from a package 
incrementor    loop to update a variable set in an initializernot more than one line long if possible Loops and Decision Making    
initializer    loop to set up an initial condition for a loop, often initializing a variablenot more than one line long if possible Loops and Decision Making    
long statement       not more than one line long if possible Statements and Expressions  multiple lines such that the second and subsequent lines begin with an operator and are indented 
package statement
package packageName
package com.naviseek.canasta
at the beginning of a filedefinition A statement that declares the name of the package the file definesto specify the name of the package to which the compilation unit in which the package declaration is put belongsthe first statement in the source file except for commentspackage information about the class in the source filePackagespackage declaration   

Next syntactic unitsymbol    Upsyntactic unit    Previous syntactic unitscoping unit