Exam 3: Methods and Behaviors

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

The following are examples of the access modifiers available in C#: public,personal,protected.

(True/False)
4.8/5
(75)

Methods may be defined in any order and placed anywhere in the file,in or outside of the class.

(True/False)
4.9/5
(81)

An advantage of using named parameters is: ____.

(Multiple Choice)
4.8/5
(94)

Which method returns the largest whole number less than or equal to the specified number?

(Multiple Choice)
4.8/5
(72)

A method that does not return any value on exit,____.

(Multiple Choice)
4.8/5
(63)

The body of a method can include statements that declare other methods.

(True/False)
4.9/5
(71)

In order to hold the screen when the program runs,programmers often add Console.Read( )as a last statement.

(True/False)
4.9/5
(81)

The definition of the method includes the entry inside the curly braces,which is sometimes called the body of the method.

(True/False)
4.9/5
(80)

_____________access offers the fewest access limitations;there are basically no restrictions on accessing ____________ members or classes.

(Short Answer)
4.8/5
(71)

The return type is physically placed ____.

(Multiple Choice)
4.7/5
(79)

Methods are the members of a class that perform an action,and through writing methods you describe the behavior of data.

(True/False)
5.0/5
(90)

A semicolon is placed on the end of a method heading following the parameter list.

(True/False)
4.8/5
(75)

Console applications require a Main( )method,unlike Windows applications that do not require a Main( )method.

(True/False)
4.9/5
(79)

In order to indicate a value is constant and cannot be changed,the keyword constant is added.

(True/False)
4.8/5
(85)

When a distinction is made between parameters and arguments,____.

(Multiple Choice)
4.7/5
(81)
Showing 61 - 75 of 75
close modal

Filters

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