- All interface methods are implicitly public and abstract. In other words, you do not need to actually type the public or abstract modifiers in the method declaration, but the method is still always public and abstract.
-
Interface methods must not be static.
-
Because interface methods are abstract, they cannot be marked final, strictfp, or native. (More on these modifiers later.)
-
An interface can extend one or more other interfaces.
-
An interface cannot extend anything but another interface.
-
An interface cannot implement another interface or class.
-
An interface must be declared with the keyword interface.
-
Interface types can be used polymorphically
Monday, September 30, 2013
Interface Points
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment