If Anyone Wants To Provide Support For Servlet and JSP, Then Need To Implement Servletapi
If Anyone Wants To Provide Support For Servlet and JSP, Then Need To Implement Servletapi
For java application to connect with database their needs something like API/software component which called driver.
To develop this driver software, the requirement specification found from JDBC API. This API implemented by MySQL
driver, oracle driver.
www.facebook.com/liar.zishan
Every methods present in interface is always public and abstract by default. When implemented then method should
be public in child class.
Notes:
1. In interface method by default public abstract and child class responsible for implementation using public
modifier
2. In interface by default data member is final static. So you need to give value. And u accesses this by its own
method from next child implementation.
3. Interface can extend other interfaces.
www.facebook.com/liar.zishan
4. If same method signature found in several interfaces then child class only once implement this method.
5. Interface static method can be called directly by interface name dot.
6. No constructor allowed in interface but allowed in abstract class.
7. Static and final allowed only for data members and by default all date members are static final. But in abstract
no restriction.
www.facebook.com/liar.zishan