99%(121)120 out of 121 people found this document helpful
This preview shows page 2 - 5 out of 8 pages.
9.The data components of a class that belong to every instantiated object are the class’s ____.a.numeric variablesc.instance variablesb.string variablesd.data variablesANS: CPTS:1REF:41110.A(n) ____ is a program or class that instantiates objects of another prewritten class.
PTS:1REF:41111.The term ____ is applied to situations in which you define multiple methods with a single name.PTS:1REF:41312.A ____ is a set of program statements that tell you the characteristics of the class’s objects and the methods that can be used by its objects.PTS:1REF:41513.The term ____ implies that the type’s data can be accessed only through methods.a.abstract type libraryc.abstract definition typeb.advanced data typed.abstract data typeANS: DPTS:1REF:41614.A(n) ____ is a programmer-defined type, such as a class.PTS:1REF:41615.In older object-oriented programming languages, simple numbers and characters are said to be ____ data types.PTS:1REF:41716.A(n) ____ consists of a rectangle divided into three sections.PTS:1REF:41717.The purpose of ____ is to set the values of data fields within the class.a.get methodsc.make methodsb.put methodsd.set methodsANS: DPTS:1REF:42018.Methods that set values are called ____ methods.PTS:1REF:42019.The purpose of a(n) ____ is to return a value to the world outside the class.PTS:1REF:421
20.A ____ method is also known as a help method.PTS:1REF:42221.A(n) ____ is the adjective defining the type of access (public or private) that outside classes will have to the attribute or method.a.control specifierc.access specifierb.control modifierd.access controllerANS: CPTS:1REF:42422.In a class method, the ____ reference can be used only with identifiers that are field names.PTS:1REF:433