[C-Sharp Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ C-Sharp Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
401. base keyword का उपयोग किसलिए होता है?
[A] Current class access
[B] Base class members access करने के लिए
[C] Thread create करने के लिए
[D] Memory clear करने के लिए
401. What is the use of base keyword?
[A] Access current class
[B] Access base class members
[C] Create thread
[D] Clear memory
सही उत्तर: Base class members access करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Access base class members
Explanation: Important question.
402. this keyword का उपयोग क्या करता है?
[A] Base class access
[B] Current object reference
[C] Static access
[D] Memory delete
402. What does this keyword do?
[A] Access base class
[B] Reference current object
[C] Static access
[D] Delete memory
सही उत्तर: Current object reference
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Reference current object
Explanation: Important question.
403. sealed class का मुख्य उद्देश्य क्या है?
[A] Inheritance allow करना
[B] Class inheritance रोकना
[C] Thread create करना
[D] Memory increase करना
403. What is the main purpose of sealed class?
[A] Allow inheritance
[B] Prevent inheritance
[C] Create thread
[D] Increase memory
सही उत्तर: Class inheritance रोकना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Prevent inheritance
Explanation: Important question.
404. abstract class में क्या होता है?
[A] Only concrete methods
[B] Abstract और concrete दोनों methods
[C] Only static methods
[D] No methods allowed
404. What does an abstract class contain?
[A] Only concrete methods
[B] Abstract and concrete methods
[C] Only static methods
[D] No methods allowed
सही उत्तर: Abstract and concrete both methods
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Abstract and concrete methods
Explanation: Important question.
405. interface का मुख्य उपयोग क्या है?
[A] Implementation provide करना
[B] Contract define करना
[C] Memory allocate करना
[D] Thread control करना
405. What is the main use of interface?
[A] Provide implementation
[B] Define contract
[C] Allocate memory
[D] Control thread
सही उत्तर: Contract define करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Define contract
Explanation: Important question.
406. C# में interface और abstract class में मुख्य अंतर क्या है?
[A] Interface में implementation होता है
[B] Abstract class में complete implementation हो सकता है
[C] Interface inherit नहीं होता
[D] Abstract class multiple inherit नहीं कर सकता
406. What is the main difference between interface and abstract class in C#?
[A] Interface has implementation
[B] Abstract class can have complete implementation
[C] Interface cannot be inherited
[D] Abstract class cannot have inheritance
सही उत्तर: Abstract class में complete implementation हो सकता है
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Abstract class can have complete implementation
Explanation: Important question.
407. Multiple inheritance C# में कैसे achieve किया जाता है?
[A] Classes के द्वारा
[B] Interfaces के द्वारा
[C] Delegates के द्वारा
[D] Struct के द्वारा
407. How is multiple inheritance achieved in C#?
[A] By classes
[B] By interfaces
[C] By delegates
[D] By struct
सही उत्तर: Interfaces के द्वारा
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: By interfaces
Explanation: Important question.
408. Constructor का मुख्य उद्देश्य क्या है?
[A] Memory delete करना
[B] Object initialize करना
[C] Thread create करना
[D] Database connect करना
408. What is the main purpose of constructor?
[A] Delete memory
[B] Initialize object
[C] Create thread
[D] Connect database
सही उत्तर: Object initialize करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Initialize object
Explanation: Important question.
409. Constructor overloading का मतलब क्या है?
[A] Same constructor multiple parameters
[B] Multiple constructors with different parameters
[C] Only one constructor
[D] Inheritance constructor
409. What is constructor overloading?
[A] Same constructor multiple parameters
[B] Multiple constructors with different parameters
[C] Only one constructor
[D] Inheritance constructor
सही उत्तर: Multiple constructors with different parameters
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Multiple constructors with different parameters
Explanation: Important question.
410. Destructor का उपयोग किसलिए होता है?
[A] Object create करने के लिए
[B] Resource cleanup के लिए
[C] Thread create करने के लिए
[D] Database connect करने के लिए
410. What is the use of destructor?
[A] Create object
[B] Cleanup resources
[C] Create thread
[D] Connect database
सही उत्तर: Resource cleanup के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Cleanup resources
Explanation: Important question.