Single Choice
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,050 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
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