What is Interface ?

1. An Interface is a description of the action that an object can do.
2. Interface is writen in the same way as the class the declarations with interface keyword.

Rules of Interface
1. All methods declared in a interface must be public. This is nature of Interface.
2. All method in the interface must be implemented with in the class.

What is Interface ?
Show Buttons
Hide Buttons