MCQ
Single Best Answer
Not Set
QGiven the following piece of code:
public interface Guard{
void doYourJob();
}
abstract public class Dog implements Guard{ }
which of the following statements is correct?
ID: #2278
Java Interfaces And Abstract Classes MCQ
2,044 views
Question Info
#2278Q ID
Not SetDifficulty
Java Interfaces And Abstract Classes MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option D
Explanation
This code will compile without any errors.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic