JAVA :READ SOMETHING IMPORTANT ABOUT INTERFACE

                         
      i)                    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.
ii)                   All variables defined in an interface must be public, static, and final
in other words, interfaces can declare only constants, not instance variables
iii)                 Interface methods must not be static.
iv)           Because interface methods are abstract, they cannot be marked final,
strictfp, or native.
v)                  An interface can extend one or more other interfaces.
vi)                An interface cannot extend anything but another interface.
vii)              An interface cannot implement another interface or class.
viii)            An interface must be declared with the keyword interface.
ix)                  Interface types can be used polymorphically
Advertisements

About rajkirpal

i am a software engineer. and i have decent knowledge about java technologies like ANDROID, Servlet, Jsp, Struts, Hibernet, Spring, J2ME, Java Script, Ajax, JQuery, CSS. Further i am Preparing Easy understandable materials/documents upon the same java technologies and developing project in core java , advanced java and j2me , ANDROID as per the requirements Also designing the web sites and logos Thank You.
This entry was posted in J2SE. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s