Exam 9: Object-Oriented Programming: Classes and Objects

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

Private class members are accessible only from outside the class in which they're declared.

(True/False)
4.9/5
(31)

Instance variables declared with Dim default to __________ access.

(Multiple Choice)
4.8/5
(34)

Which of the following usages of the Me reference is syntactically correct (assume mHour is an instance variable of class CTime and the current object is an instance of CTime)?

(Multiple Choice)
4.7/5
(41)

Variables declared within class methods are called instance variables.

(True/False)
4.8/5
(39)

A program contains a copy of a Shared variable for each object that is instantiated.

(True/False)
4.8/5
(35)

Const members can be initialized only to other constant values.

(True/False)
4.9/5
(28)

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

(True/False)
4.9/5
(30)

Const members must be initialized at compile time,but ReadOnly values are not initialized until runtime.Neither one can be modified once initialized.

(True/False)
4.8/5
(48)

All Math class methods are Shared and are therefore called by preceding the name of the method with the class name Math and a __________ separator.

(Multiple Choice)
4.9/5
(33)

Having a Me reference allows:

(Multiple Choice)
4.7/5
(30)

Keyword is used for constants whose values cannot be determined at compile time.

(Multiple Choice)
4.7/5
(40)

An object's Me reference refers to:

(Multiple Choice)
4.8/5
(33)

Which of the following describes a Shared variable?

(Multiple Choice)
4.8/5
(39)

Which of the following is the correct syntax for accessing the Public property Tire of an object named myCar outside of the Car class?

(Multiple Choice)
4.9/5
(34)

You can provide a parameterless constructor that contains code and takes no parameters,or that takes only Optional parameters so you can call it with no arguments.

(Multiple Choice)
4.8/5
(30)

Public class members are accessible wherever the program has a reference to an object of the class.

(True/False)
4.8/5
(28)

Outside a class' scope,Public members can be accessed only by using the dot (. )operator.

(True/False)
4.8/5
(26)

The purpose of utility methods is to support the operation of a class's other methods.

(True/False)
4.8/5
(34)

A variable of a reference type contains:

(Multiple Choice)
4.8/5
(29)

Const members are not implicitly Shared.

(True/False)
4.8/5
(27)
Showing 41 - 60 of 80
close modal

Filters

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