Question 58Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1 + 1 more paper

Which of the following best defines a class?निम्नलिखित में से कौन एक क्लास को सर्वोत्तम रूप से परिभाषित करता है?

निम्नलिखित में से कौन एक क्लास को सर्वोत्तम रूप से परिभाषित करता है?
  1. AAn instance of an objectकिसी ऑब्जेक्ट का एक इंस्टैंस
  2. BA blueprint for creating objectsऑब्जेक्ट बनाने का एक ब्लूप्रिंट
  3. CA variable holding dataएक वेरिएबल होल्डिंग डेटा
  4. DA function with a return valueरिटर्न वैल्यू वाला एक फ़ंक्शन
Show answerHide answer

Correct answer: (B) A blueprint for creating objectsऑब्जेक्ट बनाने का एक ब्लूप्रिंट

Explanation

A class is a blueprint or template that defines data and methods. Objects are instances created from it.क्लास एक ब्लूप्रिंट या टेम्पलेट है जो डेटा और मेथड परिभाषित करता है। ऑब्जेक्ट उससे बने instance होते हैं।

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1

This is question 58 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.

Asked in 2 papers