M

Mr. Dubey • 52.63K Points
Coach

Q. In the case of access modifiers___________.

  • (A) Private and protected access modifiers can be specified for a class.
  • (B) Public access modifier can be specified for a class.
  • (C) The scope of the internal access modifier is the namespace.
  • (D) None of these.
  • Correct Answer - Option(D)
  • Views: 65
  • Filed under category C#

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.

Related MCQs on C#

Q. COM Interop is simplified in C#4.0 e.g.var doc = Application.GetDocument("MyFile.txt"); In above statement_______ keyword was essential in parameters of GetDocument() in previous versions of C#.

Q. _________ are reserved, and cannot be used as identifiers.

Q. How many types of compilers availbale under CLR?

Q. An instance class member is referred by using the format____________.

Q. Arrays in C# are ______ objects

Q. ______ parameters are used to pass results back to the calling method.

Q. Which of the following statements are correct about JIT? 1. JIT compiler compiles instructions into machine code at run time. 2. The code compiler by the JIT compiler runs under CLR. 3. The instructions compiled by JIT compilers are written in native code. 4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code. 5. The method is JIT compiled even if it is not called

Q. The arrays involved in a jagged array_____________.

Q. Which of the following can be facilitated by the Inheritance mechanism? 1 Use the existing functionality of base class. 2 Override the existing functionality of base class. 3 Implement new functionality in the derived class. 4 Implement polymorphic behaviour. 5 Implement containership.

Q. Which of the following statements are correct about an ArrayList collection that implements the IEnumerable interface? 1. The ArrayList class contains an inner class that implements the IEnumerator interface. 2. An ArrayList Collection cannot be accessed simultaneously by different threads. 3. The inner class of ArrayList can access ArrayList class's members. 4. To access members of ArrayList from the inner class, it is necessary to pass ArrayList class's reference to it. 5. Enumerator's of ArrayList Collection can manipulate the array.

Learn All C# MCQs


Question analytics