Exam 4: Creating Your Own Classes

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

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

(Multiple Choice)
4.7/5
(32)

C# is an object-oriented language as such all the code that you write has to be placed in a(n) ____________.

(Short Answer)
4.8/5
(40)

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.7/5
(27)

A standard convention used by C# programmers is to use camel case style for property identifiers; Camel case style convention is also used for data member identifiers.

(True/False)
4.9/5
(29)

WriteLine("Value = {0:N0}", 12345.9032); What will be displayed from the above line?

(Multiple Choice)
4.7/5
(36)

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

(Multiple Choice)
4.9/5
(39)

Fields or data members are also called ____________.

(Short Answer)
4.8/5
(39)

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
(47)

An object is like a class template. The object is used to define the structure for the different classes that are going to be of that type.

(True/False)
4.8/5
(34)

Constructors are methods.

(True/False)
4.7/5
(38)

To program an object-oriented solution begin by determining what ____ are needed in the solution.

(Multiple Choice)
4.7/5
(35)

Instance methods must have the static keyword in their heading.

(True/False)
4.8/5
(34)

A property looks like a method because it directly represents a storage location.

(True/False)
4.9/5
(37)

Variables declared in the Main( ) method are ____.

(Multiple Choice)
4.9/5
(30)

After a project has been created and a new class added to your application, you can use the ____________ Window in Visual Studio to create a class diagram.

(Short Answer)
4.8/5
(35)
Showing 61 - 75 of 75
close modal

Filters

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