1. Computing
Send to a Friend via Email

for

By

Definition:

The for keyword is used to define the beginning of a for loop and is always written in lowercase.

Examples:

Using a for loop to print out the numbers from 1 to 10:

 for (int i=1; i<=10; i++)
 {
   System.out.println(i);
 } 

Glossary:

# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Glossary of Java Terms: "F"
Top Related Searches
  • println
  • lt
  • glossary
    1. About.com
    2. Computing
    3. Java
    4. Java Glossary
    5. F
    6. for - Definition for the Term: for

    ©2014 About.com. All rights reserved.