Filters
Question type

Study Flashcards

A(n) ____ is a program or class that instantiates objects of another prewritten class.


A) instantiation
B) method
C) class client
D) class definition

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

Instance variables are often called ____ to help distinguish them from other variables you might use.


A) rows
B) records
C) columns
D) fields

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

When you think in an object-oriented manner,everything is a(n)____________________.

Correct Answer

verifed

verified

____ methods are those for which no object needs to exist.


A) Nonstatic
B) Public
C) Static
D) Private

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

____________________ is the process of combining all of an object's attributes and methods into a single package.

Correct Answer

verifed

verified

A ____ method is also known as a help method.


A) work
B) private
C) public
D) set

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

Object-oriented programmers also use the term ____ when describing inheritance.


A) has-a
B) from-a
C) is-a
D) contains

E) B) and D)
F) All of the above

Correct Answer

verifed

verified

Objects both in the real world and in object-oriented programming contain ____ and methods.


A) behaviors
B) attributes
C) help
D) primitive data types

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

The term ____ implies that the type's data is private and can be accessed only through methods.


A) abstract type library
B) advanced data type
C) abstract definition type
D) abstract data type

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

Match each term with a statement below. -An instance of a class


A) instance variables
B) class client
C) inheritance
D) class
E) information hiding
F) state
G) primitive data types
H) attributes
I) encapsulation
J) object

K) A) and B)
L) C) and I)

Correct Answer

verifed

verified

In most programming languages,you use the word ____ when you want to declare a static class member.


A) private
B) friend
C) public
D) static

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

Discuss nonstatic methods.

Correct Answer

verifed

verified

Nonstatic methods are methods that exist...

View Answer

Match each term with a statement below. -The data components of a class that belong to every instantiated object


A) instance variables
B) class client
C) inheritance
D) class
E) information hiding
F) state
G) primitive data types
H) attributes
I) encapsulation
J) object

K) F) and H)
L) E) and F)

Correct Answer

verifed

verified

Match each term with a statement below. -The process of combining all of an object's attributes and methods into a single package


A) instance variables
B) class client
C) inheritance
D) class
E) information hiding
F) state
G) primitive data types
H) attributes
I) encapsulation
J) object

K) D) and H)
L) E) and H)

Correct Answer

verifed

verified

Match each term with a statement below. -The process of acquiring the traits of one's predecessors


A) instance variables
B) class client
C) inheritance
D) class
E) information hiding
F) state
G) primitive data types
H) attributes
I) encapsulation
J) object

K) B) and E)
L) C) and I)

Correct Answer

verifed

verified

____ is a programming model that focuses on an application's components and data and methods the components use.


A) Classical programming
B) Functional programming
C) Procedural programming
D) Object-oriented programming

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

List the two identifiers within a method that always mean exactly the same thing when you write an instance method in a class.

Correct Answer

verifed

verified

When you write an instance method in a c...

View Answer

Match each term with a statement below. -Describes a group or collection of objects with common attributes


A) instance variables
B) class client
C) inheritance
D) class
E) information hiding
F) state
G) primitive data types
H) attributes
I) encapsulation
J) object

K) C) and J)
L) A) and B)

Correct Answer

verifed

verified

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


A) control specifier
B) control modifier
C) access specifier
D) access controller

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

Match each term with a statement below. -Discuss why the reusability of a class makes it useful.

Correct Answer

verifed

verified

The concept of a class is useful because...

View Answer

Showing 41 - 60 of 60

Related Exams

Show Answer