Exam 14: Object-Oriented Programming

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Each object that is created from a class is called a(n)_________ of the class.

(Short Answer)
4.9/5
(37)

If a constructor is not written when the class is compiled,then a constructor is automatically provided and it is known as the default constructor.

(True/False)
4.7/5
(42)

The data contained in an object are known as the object's __________.

(Short Answer)
4.8/5
(31)

When a superclass method has the same name as a subclass method,it is often said that the superclass method overrides the subclass method.

(True/False)
4.7/5
(33)

When the program is running,it can use the class to create,in memory,one object of a specific type as needed.

(True/False)
5.0/5
(32)

When an object's internal data is hidden from outside code and access to the data is restricted to the object's methods,the data is protected from accidental corruption.

(True/False)
5.0/5
(38)

In an inheritance relationship,the superclass inherits members from the subclass,not the other way around.

(True/False)
4.8/5
(40)

When a class variable is assigned the address of an object,it is said that the variable references the object.

(True/False)
4.9/5
(33)

The mutator methods are sometimes called _________________.

(Multiple Choice)
4.9/5
(40)

A __________ is code that specifies the fields and methods for a particular type of object.

(Short Answer)
4.8/5
(39)

The word Private that appears before a field declaration,in a class definition,is known as a(n)____________.

(Multiple Choice)
4.9/5
(41)

The act of declaring a class variable does not actually create an object in memory.

(True/False)
4.8/5
(47)

Which of the following tasks are performed by a procedure?

(Multiple Choice)
4.8/5
(36)

The private object fields can be directly manipulated by outside entities.

(True/False)
4.9/5
(35)

There are primarily three methods of programming in use today: procedural,recursive,and object-oriented.

(True/False)
4.7/5
(36)

What is the term used for the fields and methods that belong to a class?

(Multiple Choice)
4.9/5
(38)

The class _________ starts with the word Class followed by the name of the class.

(Multiple Choice)
4.9/5
(31)

What allows you to create methods with the same name in different classes and gives you the ability to call the correct method depending on the type of object that is used to call it?

(Multiple Choice)
4.7/5
(26)

_______________ is another name for accessor methods.

(Multiple Choice)
4.8/5
(36)

The methods that can be accessed by entities outside the object are known as _________ methods.

(Short Answer)
4.9/5
(38)
Showing 21 - 40 of 43
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)