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

What are abstract methods?एब्सट्रैक्ट मेथड्स क्या हैं?

एब्सट्रैक्ट मेथड्स क्या हैं?
  1. AMethods that are inaccessible to the outside worldवे मेथड्स जो बाहरी दुनिया के लिए अप्राप्य हैं।
  2. BMethods that have implementation detailsवे मेथड्स जिनमें कार्यान्वयन विवरण हैं।
  3. CMethods without a body, defined in an abstract classकिसी एब्सट्रैक्ट क्लास में परिभाषित बिना किसी बॉडी के मेथड्स
  4. DMethods that cannot be inheritedवे मेथड्स जो इनहेरिटेड में नहीं मिल सकतीं हैं।
Show answerHide answer

Correct answer: (C) Methods without a body, defined in an abstract classकिसी एब्सट्रैक्ट क्लास में परिभाषित बिना किसी बॉडी के मेथड्स

Explanation

An abstract method is declared without a body, inside an abstract class (or interface). Concrete subclasses must provide its implementation.Abstract मेथड बिना बॉडी के, किसी abstract क्लास (या इंटरफेस) के अंदर घोषित होता है। Concrete सबक्लास को उसका कार्यान्वयन देना होता है।

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

This is question 61 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.