|
What is a method declaration without the implementation? A good answer might be:It is simply an access modifier, return type, and method signature followed by a semicolon. | |
Example interfaceHere is an example interface definition:
(The constants don't have to be separated from the methods, but doing so makes the interface easier to read.) A method in an interface cannot be made private. When a class definition implements an interface:
| |
QUESTION 3:
Click Here after you have answered the question |