Exam 4: Creating Your Own Classes

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

Constructors are methods.

(True/False)
4.7/5
(103)

To design a class that is flexible and full-featured,____.

(Multiple Choice)
4.7/5
(78)

C# is an object-oriented language.All the code for an application must be placed in a(n)____.

(Multiple Choice)
4.8/5
(84)

Which of the following is NOT a true statement relating to constructors?

(Multiple Choice)
4.9/5
(70)

If proper naming conventions were used in the above statement,which of the following statements is true?

(Multiple Choice)
4.8/5
(79)

When you define a class and determine what data members it should have,you are declaring instance variables or fields that will represent the state of an object.

(True/False)
4.9/5
(86)

Mutators are special types of methods used to create objects.

(True/False)
4.8/5
(85)

When you define a class method,you define its characteristics or fields in terms of the data.

(True/False)
4.9/5
(73)

With the object-oriented approach,objects send messages to other objects and receive messages from objects.

(True/False)
4.8/5
(76)

A class named River will have a constructor named River.

(True/False)
4.8/5
(81)

Data members should be defined with an access mode of ____________.

(Short Answer)
4.9/5
(75)

Constructors ____.

(Multiple Choice)
4.8/5
(77)

Since the data members of the class are defined as private,their public property counterpart must be used to assign new values to the data members.

(True/False)
4.9/5
(82)

By abstracting out the attributes (data)and the behaviors (processes on the data),you can create a(n)____________ to serve as a template from which many objects of that type can be instantiated.

(Short Answer)
4.8/5
(64)

A constructor is used to instantiate a class from an object.

(True/False)
4.9/5
(86)
Showing 61 - 75 of 75
close modal

Filters

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