Exam 10: Classes and Objects: A Deeper Look

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

Keyword _______ is used to indicate a method overloads a specific operator.

(Multiple Choice)
4.7/5
(31)

Developers use the Object Browser to learn about the functionality provided by a specific class.

(True/False)
4.8/5
(34)

Which of the following class members should usually be private

(Multiple Choice)
4.8/5
(38)

An object initializer calls the default constructor before executing.

(True/False)
4.9/5
(40)

Which of the following statements is false

(Multiple Choice)
4.8/5
(45)

Which statement is false

(Multiple Choice)
4.9/5
(40)

Overloaded operator methods must be declared public and ________.

(Multiple Choice)
4.9/5
(27)

Object initializers (which initialize an object and its properties)use what syntax

(Multiple Choice)
4.8/5
(34)

C# invokes the appropriate constructor by matching the number,types and order of the parameters in the constructor call to those in each constructor definition.

(True/False)
4.9/5
(36)

this is often used to distinguish between a local variable and class variable that share an identical name.

(True/False)
4.8/5
(35)

Having a this reference allows:

(Multiple Choice)
4.9/5
(35)

Variables declared within class methods are called instance variables.

(True/False)
4.8/5
(34)

Attempting to overload a constructor with another constructor that has the exact same signature (name and parameters)is a compilation error.

(True/False)
4.9/5
(34)

Object orientation uses classes to:

(Multiple Choice)
4.7/5
(41)

A constructor may not call other methods.

(True/False)
4.9/5
(33)

An attempt by a method which is not a member of a particular class to access a pri vate member of that class is a fatal runtime error.

(True/False)
4.9/5
(35)

Variables or methods declared with access modifier public are accessible wherever the program has a reference to an object of the class.

(True/False)
4.9/5
(27)

Complex numbers have the form RealPart + imaginaryPart * i Where i is the square root of -1.Which of the following statements is false

(Multiple Choice)
4.7/5
(29)

A constructor cannot:

(Multiple Choice)
4.8/5
(39)

Every class must have at east one constructor.

(True/False)
4.9/5
(29)
Showing 41 - 60 of 79
close modal

Filters

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