Question 57Asked in Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)

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 (implementation) in an abstract class or interface. Every concrete subclass must override and implement it.Abstract method को abstract class या interface में बिना body (implementation) के घोषित किया जाता है। हर concrete subclass को उसे override और implement करना पड़ता है।

From Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM)

This is question 57 of Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM). 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.