9781111969752_TB_ch10 - Chapter 10: Object-Oriented...

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 ofarrays.PTS:1REF:408
2.In addition to their attributes, class objects have methods associated with them; every object that is aninstance of a class possesses different methods.PTS:1REF:411
3.Within any object-oriented program, you continuously make requests to objects’ methods, oftenincluding arguments as part of those requests.PTS:1REF:411
4.Declaring a class does not create actual objects.PTS:1REF:415
5.Class diagrams are a type of Unified Modeling Language (UML) diagram.PTS:1REF:417
6.The accessor method is another name for the set method.PTS:1REF:421
7.Object-oriented programmers usually specify that their data fields will have private access.PTS:1REF:424
8.All methods require athisreference.PTS:1REF:432
9.No object is necessary with a static method.PTS:1REF:435
10.Methods in a class are static instance methods by default.PTS:1REF:435
MULTIPLE CHOICE1.____ is a style of programming that focuses on an application’s data and the methods you need tomanipulate that data.
We have textbook solutions for you!
/Java-Programming-9th-Edition-9781337397070-773/
The document you are viewing contains questions related to this textbook.
Chapter 11 / Exercise 2
Java Programming
Farrell
Expert Verified
PTS:1REF:408
2.Object-oriented programmers sometimes say an object is one ____ of a class.PTS:1REF:408
3.Objects both in the real world and in object-oriented programming contain ____ and methods.a.behaviorsc.helpb.attributesd.primitive data typesANS: BPTS:1REF:409
4.____ are the characteristics that define an object as part of a class.PTS:1REF:409
5.When you think in an object-oriented manner, every object is a member of a ____.PTS:1REF:410
6.Object-oriented programmers also use the term ____ when describing inheritance.PTS:1REF:410
7.The concept of a class is useful because of its ____.a.reusabilityc.abstract natureb.mapping to realityd.portabilityANS: APTS:1REF:410
8.Object attributes are often called ____ to help distinguish them from other variables you might use.PTS:1REF:411

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 8 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
N/A
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Java Programming
The document you are viewing contains questions related to this textbook.
Chapter 11 / Exercise 2
Java Programming
Farrell
Expert Verified

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture