πŸ“Š C#
Q. _______ variables are visible only in the block they are declared.
  • (A) System
  • (B) Global
  • (C) Local
  • (D) Console
πŸ’¬ Discuss
βœ… Correct Answer: (C) Local
πŸ“Š C#
Q. C# does not support _____ constructors.
  • (A) parameterized
  • (B) parameter-less
  • (C) Class
  • (D) Method
πŸ’¬ Discuss
βœ… Correct Answer: (B) parameter-less
πŸ“Š C#
Q. A structure in C# provides a unique way of packing together data of ______ types.
  • (A) Different
  • (B) Same
  • (C) Invoking
  • (D) Calling
πŸ’¬ Discuss
βœ… Correct Answer: (A) Different
πŸ“Š C#
Q. Struct’s data members are ____________ by default.
  • (A) Protected
  • (B) Public
  • (C) Private
  • (D) Default
πŸ’¬ Discuss
βœ… Correct Answer: (C) Private
πŸ“Š C#
Q. A _______ creates an object by copying variables from another object.
  • (A) Copy constructor
  • (B) Default constructor
  • (C) Invoking constructor
  • (D) Calling constructor
πŸ’¬ Discuss
βœ… Correct Answer: (A) Copy constructor
πŸ“Š C#
Q. The methods that have the same name, but different parameter lists and different definitions is called______.
  • (A) Method Overloading
  • (B) Method Overriding
  • (C) Method Overwriting
  • (D) Method Overreading
πŸ’¬ Discuss
βœ… Correct Answer: (A) Method Overloading
πŸ“Š C#
Q. The C# provides special methods known as _____ methods to provide access to data members.
  • (A) Loop
  • (B) Functions
  • (C) Methods
  • (D) Accessor
πŸ’¬ Discuss
βœ… Correct Answer: (D) Accessor
πŸ“Š C#
Q. Storage location used by computer memory to store data for usage by an application is ?
  • (A) Pointers
  • (B) Constants
  • (C) Variable
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Variable
πŸ“Š C#
Q. Which of these can be overloaded?
  • (A) Constructors
  • (B) Methods
  • (C) Both a & b
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both a & b
πŸ“Š C#
Q. Number of constructors a class can define of ?
  • (A) 1
  • (B) 2
  • (C) Any number
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Any number