CISP 10-Chapter 7

Ace your homework & exams now with Quizwiz!

A(n) _______ is the adjective that defines the type of access that outside classes will have to the attribute or method.

Access specifier

A _______ is a term that describes objects with common attributes.

Class

A(n) _____ is just an abstract description of what an object will be like if any objects are ever actually instantiated.

Class

Everything is an object, and every object is a member of a _____.

Class

A _______ is a set of programs statements that tells you the characteristics of the class's objects and the methods that can be applied to its objects.

Class definition

Programmers often use a ________ to illustrate class features or to help plan them.

Class diagram

A program or class that instantiates objects of another prewritten class is a class client or _______

Class user

Using a class object within another class object is known as _______

Composition

1. The ability to use methods without knowing the details of their contents is a feature of _______.

Encapsulation

A program or class that instantiates methods of another prewritten class is a class client or class user.

False

Declaring a class creates actual objects.

False

When you think in an object-oriented manner, everything is an object, and every object is a member of a method.

False

Object attributes are often called _______ to help distinguish them from other variables you might use.

Fields

The relationship created when using a class object within another class object is also called a(n) ____ relationship

Has-a

_______ is the concept that other classes should not alter an object's attributes-only the methods of an object's own class should have that privilege.

Information hiding

When using ________, you can develop new classes more quickly by extending existing classes that already work.

Inheritance

______ is the process of acquiring the traits of one's predecessors

Inheritance

A(n) ____ method operates appropriately for such separate instance of a class.

Instance

The data components of a class that belong to every instantiated object are the class's _______ variables

Instance

In class diagrams, a ________ sign precedes the items that are private.

Minus

A(n) ______ is one instance of a class.

Object

Object-oriented programmers usually specify that their data fields will have _______ access.

Private

A class diagram consists of a ______ divided into three sections.

Rectangle

The concept of a class is useful because of its ______

Reusability

The set of all the values or contents of a class object's instance variables is also known as its ______

State

A _______ reference is an automatically created variable that holds the address of an object and passes it to an instance method whenever the method is called

This

A class can contain another class's objects as data members.

True

A this reference is an automatically created variable that holds the address of an object and passes it to an instance method whenever the method is called.

True

Creating multiple methods with the same name, which will act differently and appropriately when used with different types of objects, is known as polymorphism.

True

In addition to their attributes, class objects have methods associated with them, and every object that is an instance of a class possesses that same methods.

True

The purpose of set methods is to set the values of data fields within the class

True

With object-oriented programming, once you create an object, you can develop new objects that possess all the traits of the original object, plus any new traits you desire.

True

With will-written methods that belong to classes you use, you need not understand how they work internally to be able to use them. Will be like if any objects are even

True

Class diagrams are a type of _____ diagram.

Unified Modeling Language

A ______ is an environment in which you can create programs by dragging components such as buttons and labels onto a screen and arranging them visually

Visual development environment


Related study sets

Exam 2 chapter 5 Histology (Top Hat Review)

View Set

Chapter 13: Motivating for Performance

View Set

1.01 - Explain the nature of business plans (MN).

View Set