BFOIT - Introduction to Computer Programming
Background
jLogo Programming
- Commanding a Turtle
- Pseudocode
- Adding New Commands
- Iteration & Animation
- Hierarchical Structure
- Procedure Inputs
- Primitive Operators
- Defining Operators
- Words & Sentences
- User Interface Events
- What If? (Predicates)
- Recursion
- Local Variables
- Global Variables
- Word/Sentence Iteration
- Mastermind Project
- Turtles As Actors
- Arrays
- File Input/Output
Java
- A Java Program
- What's a Class?
- Extending Existing Classes
- Types
- Turtle Graphics
- Control Flow
- User Interface Events
Appendices
Updates
Lastly
Appendix A (Jargon)
- 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:- modifiers are keywords like public, private, final, and static.
- type is a keyword for a Java primitive type, a primitive type suffixed with "[]" or a class identifier.
- 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.
- 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 HomePage