Checking It

Select the correct answer to the following questions.

Multiple Choice

1:A class method is a way to model:
  1. Class attributes.

  2. Object state.

  3. Object state and behavior.

  4. Class behavior.

2:A public method can be invoked from:
  1. Anyone in this assembly or outside it.

  2. Anyone in this assembly.

  3. Anyone in the same namespace.

  4. Anyone in the same class.

3:The Overloads keyword is used to:
  1. Indicate that a method is going to be overloaded later.

  2. Indicate that the method is overloaded by another method.

  3. Indicate that the method overloads another method.

  4. Both b and c because they mean the same thing.

4:Overloaded methods must differ by:
  1. Name.

  2. Number of arguments. ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.