Vidyalelo
Java Programming · Q17

Interfaces and Abstract Classes

Programming · Java Programming · question 17

Q17

In Java, can an abstract class have non-abstract methods?

A.
Only if the abstract methods are marked as "static"
B.
Only if the non-abstract methods are marked as "private"
C.
Yes, an abstract class can have both abstract and non-abstract methods
Answer
D.
No, abstract classes can only have abstract methods

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board