1) The logical structure in which one instruction occurs after another with no branching is a ____________________. a) sequence b) selection c) loop d) 2) The _______________ of an object is represented by the _______________ with their current values. a) state, data fields b) action, state c) action, variable d) oval 3) The behavior of an object is defined by _______________ a) state b) method c) action d) nested 'if' 4) A class is a _____________________________ that defines what an object's data fields and method will be. a) template b) blueprint c) both a and b d) convoluted 5) Creating an instance is referred to as ____________________. a) instant b) instance c) instantiation d) false 6) A Java class uses __________________________ to define data fields and ______________ to define actions.The operator that combines two conditions into a single Boolean value that is 'true' when at least one of the condition is 'true' is ______________. a) states, functions b) objects, methods c) objects, class| d) && 7) Object is a(n) _____________ of a class. a) instant b) instance c) instantiation 8) The ___________ operator is used to create an object from class. a) dot b) new c) arithmetic 9) After an object is created, its data can be accessed and its methods invoked using the ___________ operator. a) dot b) new c) arithmetic 10) Arrays are treated as objects in Java. a) TRUE b) FALSE c) NOT SURE

Leaderboard

Visual style

Options

Switch template

Continue editing: ?