CORRECT Answers
class - CORRECT ANSWER - data type of an object, description of a kind of object
identifier - CORRECT ANSWER - consists of alphabetical characters and digits, first
character must be alphabetical, the remaining characters can be mixed alphabetic characters and
digits, no spaces allowed inside the name
reserved word - CORRECT ANSWER - a word like class that has a special meaning to the
system, must only use reserved words for their intended purpose
main method - CORRECT ANSWER - where the java virtual machine starts running the
program
statement - CORRECT ANSWER - a command for the computer to do something,
followed by a semicolon
methods - CORRECT ANSWER - built out of statements
statement - CORRECT ANSWER - a command for the computer to do something,
followed by a semicolon
methods - CORRECT ANSWER - built out of statements
string literal - CORRECT ANSWER - a sequence of characters, consists of characters
between quote marks, but does not include the quote marks, can contain any valid character,
including white space and punctation
comment - CORRECT ANSWER - a note written to a human reader of a program
, package - CORRECT ANSWER - a collection of classes which may be used in your
program
input stream - CORRECT ANSWER - a source of input data
output stream - CORRECT ANSWER - the output data
nextInt() - CORRECT ANSWER - method of scanner object reads in a string of digits and
converts them into an int type, scans through the input stream character by character, gathering
characters into a group that can be converted into numeric data
data type - CORRECT ANSWER - a scheme for using bits to represent values; values are
not just numbers, but any kind of data that a computer can process; all values in a computer are
represented using one data type or another
primitive data - CORRECT ANSWER - uses a small, fixed number of bytes, means a
fundamental component that is used to create other, larger parts
object - CORRECT ANSWER - a big block of data, an object may use as many bytes of
memory, usually consists of many internal pieces
integer primitive type - CORRECT ANSWER - have no fractional part
floating point - CORRECT ANSWER - have a fractional part
short data type - CORRECT ANSWER - uses 16 bits
long data type - CORRECT ANSWER - uses 64 bits