An interface has no method implementations in it. My Question is: How can an Interface like Servlet have methods that return value without any implementations in them?Please do reply. Thank you in advane
Servlet is very generic and abstract. Servlet as a concept is not protocol specific. If you see some implementation for example implementation for HHTP protocol it comes with some implementaion as how to handle that. You can write some implementation that can handle FTP etc that will have the implementation.
The rest will be given by the user who is extending them(..business).