asked 46.2k views
0 votes
When a class both extends and implements, by convention the ____ clause follows the extends clause in the class header?

asked
User Dnfehren
by
8.2k points

1 Answer

1 vote
The correct answer is implements.
In the case where there are both the implements and the extends clause present in the class header, the convention is that the first one should be the implements clause, followed by the extends clause.
This makes sense because you first need to implement the meaning you want to talk about, and then you will extend upon it later.
answered
User Btubbs
by
7.9k points