aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "interfaces" Watch "interfaces" New topic
Author

interfaces

Kourosh Keshavarzi
Ranch Hand

Joined: Oct 23, 2000
Posts: 66
Are variables in an interface implicityly just static and public
or are the static public and final.

Kourosh Keshavarzi
Ranch Hand

Joined: Oct 23, 2000
Posts: 66
In general what modifiers are allowed to be used if you want to overide the default modifiers.
thanks
Bin Zhao
Ranch Hand

Joined: Oct 04, 2000
Posts: 73
Yes,variables in interface implicitly are public,static final.
Mary Anitha
Greenhorn

Joined: Oct 13, 2000
Posts: 23
Originally posted by Kourosh Keshavarzi:
In general what modifiers are allowed to be used if you want to overide the default modifiers.
thanks

In general default,protected or public are allowed to override a method with a default modifier

[This message has been edited by Mary Anitha (edited October 28, 2000).]
Mary Anitha
Greenhorn

Joined: Oct 13, 2000
Posts: 23
I would like to add that
methods in an interface are implicitly public and abstract

Originally posted by Bin Zhao:
Yes,variables in interface implicitly are public,static final.

Kourosh Keshavarzi
Ranch Hand

Joined: Oct 23, 2000
Posts: 66
Thanks Bin and Mary
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: interfaces