The BFOIT Introduction to Programming Class
Appendix A (Jargon)
?confused unintelligible language?


F


field
Things in the Java language which hold data, or hold pointers to objects are called fields.  Think of fields as variables.  Fields are containers for things of a specific type.  Only things that are qualified to be of this specific type are allowed to go into the container.

There are four parts to a field declaration:

modifiers type fieldSpecifications ;
where:

  1. modifiers are keywords like public, private, final, and static.
  2. type is a keyword for a Java primitive type, a primitive type suffixed with "[]" or a class identifier.
  3. fieldSpecifications is a list of comma separated field identifiers with optional initializers that looks like an assignment statements with the new field identifier as the LeftHandSide.
  4. punctuation - a semicolon to terminate the declaration.


Other jargon: 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

Back to Table of Contents