Top 150+ Solved C# Programming MCQ Questions Answer

From 91 to 105 of 144

Q. Button class derives from

a. Checkbox

b. RadioButton

c. ButtonBase

d. None of the above

  • c. ButtonBase

Q. Which namespace includes most of the Control classes for developing Windows applications?

a. System;

b. System.Windows.Controls

c. System.Windows.Components.Forms

d. System.Windows.Forms

  • c. System.Windows.Components.Forms

Q. When an instance method declaration includes the abstract modifier, the method is said tobe an ______.

a. Abstract method

b. Instance method

c. Sealed method

d. Expression method

  • a. Abstract method

Q. The theory of _____ implies that user can control the access to a class, method, orvariable.

a. Data hiding

b. Encapsulation

c. Information Hiding

d. Polymorphism

  • b. Encapsulation

Q. Inheritance is ______ in nature.

a. Commutative

b. Associative

c. Transitive

d. Iterative

  • c. Transitive

Q. The point at which an exception is thrown is called the _______.

a. Default point

b. Invoking point

c. Calling point

d. Throw point

  • d. Throw point

Q. In C#, having unreachable code is always an _____.

a. Method

b. Function

c. Error

d. Iterative

  • c. Error

Q. C# supports a technique known as________, which allows a method to specify explicitlythe name of the interface it is implementing.

a. Method Implementation

b. Implicit Interface Implementation

c. Explicit Interface Implementation

d. Iterative Interface Implementation

  • c. Explicit Interface Implementation

Q. The reason that C# does not support multiple inheritances is because of ______.

a. Method collision

b. Name collision

c. Function collision

d. Interface collision

  • b. Name collision

Q. The ______ are the Graphical User Interface (GUI) components created for web basedinteractions..

a. Web forms

b. Window Forms

c. Application Forms

d. None of the above

  • b. Window Forms
Subscribe Now

Get All Updates & News