Java Question & Answers
Which of the following are valied?
|A) A class can extend any number of classes simulteneously||B) A class can implement only one interface at a time|
|C) A class can extend other class or can implement interface but not both simulteneously||D) None of the above|
Answer: D) None of the above
A is wrong because a class can extend nly one class .B is wrong because a class can implement any number of interfaces.C is wronb because both can can be done simulteneously.So, D is correct
- Related Questions