Java vocabulary UPDATED ACTUAL Exam Questions and
CORRECT Answers
import - A Java keyword used at the beginning of a source file that can specify classes or entire
packages to be referred to later without including their package names in the reference.
instance - An object of a particular class. In programs written in the Java programming language,
an instance of a class is created using the new operator followed by the class name.
instance variable - Any item of data that is associated with a particular object. Each instance of a
class has its own copy of the instance variables defined in the class. Also called a field.
int - A Java keyword used to define a variable of type integer.
Keyword - Java sets aside words as keywords - these words are reserved by the language itself
and therefore are not available as names for variables or methods. They all start with a lower
case letter.
method - A function defined in a class.
new - A Java keyword used to create an instance of a class.
Object - The principal building blocks of object-oriented programs. Each object is a
programming unit consisting of data (instance variables) and functionality (instance methods).
primitive type - A variable data type in which the variable's value is of the appropriate size and
format for its type: a number, a character, or a boolean value.
private - A Java keyword used in a method or variable declaration. It signifies that the method or
variable can only be accessed by other elements of its class.
CORRECT Answers
import - A Java keyword used at the beginning of a source file that can specify classes or entire
packages to be referred to later without including their package names in the reference.
instance - An object of a particular class. In programs written in the Java programming language,
an instance of a class is created using the new operator followed by the class name.
instance variable - Any item of data that is associated with a particular object. Each instance of a
class has its own copy of the instance variables defined in the class. Also called a field.
int - A Java keyword used to define a variable of type integer.
Keyword - Java sets aside words as keywords - these words are reserved by the language itself
and therefore are not available as names for variables or methods. They all start with a lower
case letter.
method - A function defined in a class.
new - A Java keyword used to create an instance of a class.
Object - The principal building blocks of object-oriented programs. Each object is a
programming unit consisting of data (instance variables) and functionality (instance methods).
primitive type - A variable data type in which the variable's value is of the appropriate size and
format for its type: a number, a character, or a boolean value.
private - A Java keyword used in a method or variable declaration. It signifies that the method or
variable can only be accessed by other elements of its class.