can classes extend interfaces?
--------------------------------------------------------------------------------
it is true or false? please
classes can not extend interfaces.ya but they can implement interfaces.
when we use the term extend in java it means we are inheriting all the features that a class possess and adding some new feature to the derived class
although when we extend an abstract class we use the functionality of the parent class as well as we define the functionality of the abstract methods .in case of implemeting an interface we have to define all the methods declared in the interface .
this is the reason why in case of creating a derived class from another class its called extendiing while in case of interfaces it is called implementation.
more or less these two words are similar in java but cant be used interchangably.
Why don't you try it on the compiler and see what happens.
P.S When learning Java, the compiler is your friend.