we can do sorting by using two interfaces like comparator and comparable
No. An interface cannot implement another interface, it can only just extend it. Because, an interface cannot implement any method as it has no method body declarations.
Its simple!dirve a menu based prog by using switch case & then apply every sorting function to it.
Knowledge and experience.
The applet stub interface provides the means by which an applet and the browser communicate. Your code will not typically implement this interface
By implementing Runnable in our class and by overriding the run() method of Runnable interface
SingleThreadModel
The idea is that an interface is not a class, it is just a specification of what classes that implement it must contain.
To create an abstraction or a blueprint for a class to implement later.
According to a beginner's book on Java, an interface can't have constructors. Also, the interface itself can't contain the method implementation.
Yes, classes can implement more than one interface.To declare a class that implements an interface, you include an implements clause in the class declaration.Your class can implement more than one interface, so the implements keyword is followed by a comma-separated list of the interfaces implemented by the class.By convention, the implements clause follows the extends clause, if there is one.
An adapter class is a class that provides a dummy (empty) implementation for an interface. That way someone who wants to implement the interface but does not want or does not know how to implement all methods, can use the adapter class instead, and only override the methods he is interested in.
ContentHandler