The data components of a class that belong to every instantiated object are the

The data components of a class that belong to every

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: C PTS: 1 REF: 411 10.A(n) ____ is a program or class that instantiates objects of another prewritten class.
PTS: 1 REF: 411 11.The term ____ is applied to situations in which you define multiple methods with a single name. PTS: 1 REF: 413 12.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: 1 REF: 415 13.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: D PTS: 1 REF: 416 14.A(n) ____ is a programmer-defined type, such as a class. PTS: 1 REF: 416 15.In older object-oriented programming languages, simple numbers and characters are said to be ____ data types. PTS: 1 REF: 417 16.A(n) ____ consists of a rectangle divided into three sections. PTS: 1 REF: 417 17.The purpose of ____ is to set the values of data fields within the class. a.get methodsc.make methodsb.put methodsd.set methodsANS: D PTS: 1 REF: 420 18.Methods that set values are called ____ methods. PTS: 1 REF: 420 19.The purpose of a(n) ____ is to return a value to the world outside the class. PTS: 1 REF: 421
20.A ____ method is also known as a help method. PTS: 1 REF: 422 21.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: C PTS: 1 REF: 424 22.In a class method, the ____ reference can be used only with identifiers that are field names. PTS: 1 REF: 433

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture