Page 4 Excercises



The information in this excercise was taken from Page 4, naming conventions, and data_types.

Match up the following.

_____ properties of data
_____ making space for a data with a specific type and name
_____ setting a specific value to data
_____ a set of agreed upon rules that everyone uses
_____ a valid instance member name that follows conventions
_____ an invalid class name
_____ a valid public static final data member name that follows conventions
_____ a description of possible values
_____ a numeric decimal type
_____ a logical type
_____ not a primitive type
_____ the smallest data type with which you can represent the integer number 2147483648
_____ the JAVA keyword that is the initial value of an object reference
_____ a possible int value
_____ a possible double value
_____ in JAVA, 1 is the same a 1.0
_____ char is a primitive data type
_____ a Dog object muzzle will not fit on any object of this animal type
a) thisIsValid
b) false
c) conventions
d) This-Is*Not+Valid
e) long
f) data declaration
g) 2003.0
h) 2003
i) float
j) type
k) Bear
l) an object reference (of a particular class)
m) true
n) type, name, value, scope, memory address
o) null
p) data assignment
q) THIS_IS_ALSO_VALID
r) boolean