Home
/
Math
/
SE - Quiz 2 Question 8 of 50 What is an abstract method? (1 correct answer) A method to which a signature has been provided, but no implem entation for that method is given. Any method which belongs to an abstract class. A concrete method

Question

SE - Quiz 2
Question 8 of 50
What is an abstract method?
(1 correct answer)
A method to which a signature has been provided, but no implem entation for that
method is given.
Any method which belongs to an abstract class.
A concrete method

SE - Quiz 2 Question 8 of 50 What is an abstract method? (1 correct answer) A method to which a signature has been provided, but no implem entation for that method is given. Any method which belongs to an abstract class. A concrete method

expert verifiedVerification of experts

Answer

3.8231 Voting
avatar
LelandMaster · Tutor for 5 years

Answer

<br /><br />Let's go systematically step-by-step:<br /><br />1. An abstract method is a method for which a signature is provided in an abstract class but it has no defined behavior, this is, there's no actual code written for the method.<br /><br />2. The task of providing an actual implementation or behavior to these abstract methods lies in the classes that inherits or extend the given abstract class.<br /><br />3. An abstract method isn't necessarily any method that belongs to an abstract class. Abstract classes may contain a method with complete implementation(code), these methods aren't called abstract methods instead, they are known as concrete methods. <br /><br />4. A concrete method definitely doesn't qualify as an abstract method as by definition, a concrete method has both a signature and a clear defined implementation.<br /><br />So, following the logical steps we've laid out, option to the quiz question; "What is an abstract method?"<br />- "A method to which a signature has been provided, but no implementation for that method is given"<br />should be the right answer.
Click to rate:

Hot Questions

More x