Use of interface in core java

What is the use of interface in core java?

Posted Answers

Interface placed an important role in java. It fulfils need of multiple inheritance we can use any number of interfaces in our class. THere are three interfaces which dont have methods ie., Searializable,RMI Object,. These can be used directly to do some actions.


Answer by: Anonymous