Java: Chapter 1 Review
You save text files containing Java source code using the file extension:
.java
You must compile classes written in Java into:
bytecode
Nonexecuting program statements that provide documentation are called:
comments
After you write and save a Java application file, you _________ it.
compile and then interpret
A_____________ translates high-level language statements into machine code.
compiler
In a Java program, you must use __________ to separate classes, objects, and methods.
dots
Languages that let you use a vocabulary of descriptive terms, such as "read", "write", or "add" are known as:
high-level languages
The command to execute a compiled Java application is:
java
Java supports three types of comments:
line, block, and javadoc
The most basic circuitry-level computer language, which consists of on and off switches, is:
machine language
All Java applications must have a method named:
main( ) (Many java classes do not contain a main method but all executable java programs do)
Java is architecturally:
neutral
An instance of a class is a(n):
object
Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of:
object-oriented programming
Arguments to methods always appear within:
parentheses
The individual operations used in a computer program are often grouped into logical units called:
procedures
All Java programming statements must end with a:
semicolon
The values of an object's attributes are also known as its:
state
The rules of a programming language constitute its:
syntax
Named computer memory locations are called_____________.
variables