Exam 14: Creating Classes and Objects

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

What are the rules for naming methods?

(Essay)
5.0/5
(45)

Match each item with a statement below. a.Property procedure f.behavior b.attribute g.ReadOnly keyword c.Set block h.New keyword d.Private keyword i.WriteOnly keyword e.Get block -Used in a Property procedure header to indicate that an application can set the property's value, but it cannot retrieve the value

(Short Answer)
4.8/5
(35)

The ____ of a class are most often represented by Private variables and Public properties.

(Multiple Choice)
5.0/5
(33)

The Private variables of a class are visible to applications that contain an instance of the class.

(True/False)
4.8/5
(40)

You use the ____ keyword to instantiate a procedure-level object variable.

(Multiple Choice)
4.7/5
(40)

____ are the operations (actions) that the object is capable of performing.

(Multiple Choice)
4.9/5
(38)

The Class statement begins with ____.

(Multiple Choice)
4.8/5
(37)

To instantiate a class-level object variable, you use the ____ keyword.

(Multiple Choice)
4.8/5
(46)

What is meant by overloaded methods and when is overloading of methods useful?

(Essay)
4.8/5
(39)

When an application needs to assign data to or retrieve data from a Private variable in a class, it must use a(n) ____ property to do so.

(Multiple Choice)
4.9/5
(38)
Showing 41 - 50 of 50
close modal

Filters

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