99%(121)120 out of 121 people found this document helpful
This preview shows page 1 - 3 out of 8 pages.
Chapter 10: Object-Oriented ProgrammingTRUE/FALSE1.Methods in object-oriented programs use sequence, selection, and looping structures and make use of arrays.PTS:1REF:4082.In addition to their attributes, class objects have methods associated with them; every object that is an instance of a class possesses different methods.PTS:1REF:4113.Within any object-oriented program, you continuously make requests to objects’ methods, often including arguments as part of those requests.PTS:1REF:4114.Declaring a class does not create actual objects.PTS:1REF:4155.Class diagrams are a type of Unified Modeling Language (UML) diagram.PTS:1REF:4176.The accessor method is another name for the set method.PTS:1REF:4217.Object-oriented programmers usually specify that their data fields will have private access.PTS:1REF:4248.All methods require a thisreference.PTS:1REF:4329.No object is necessary with a static method.PTS:1REF:43510.Methods in a class are static instance methods by default.PTS:1REF:435MULTIPLE CHOICE1.
____ is a style of programming that focuses on an application’s data and the methods you need to manipulate that data.
PTS:1REF:4082.Object-oriented programmers sometimes say an object is one ____ of a class.PTS:1REF:4083.Objects both in the real world and in object-oriented programming contain ____ and methods.a.behaviorsc.helpb.attributesd.primitive data typesANS: BPTS:1REF:4094.____ are the characteristics that define an object as part of a class.PTS:1REF:4095.When you think in an object-oriented manner, every object is a member of a ____.PTS:1REF:4106.Object-oriented programmers also use the term ____ when describing inheritance.PTS:1REF:4107.The concept of a class is useful because of its ____.a.reusabilityc.abstract natureb.mapping to realityd.portabilityANS: APTS:1REF:4108.Object attributes are often called ____ to help distinguish them from other variables you might use.PTS:1REF:411