| Author |
interfaces
|
Kourosh Keshavarzi
Ranch Hand
Joined: Oct 23, 2000
Posts: 66
|
posted

0
|
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
|
posted

0
|
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
|
posted

0
|
Yes,variables in interface implicitly are public,static final.
|
 |
Mary Anitha
Greenhorn
Joined: Oct 13, 2000
Posts: 23
|
posted

0
|
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
|
posted

0
|
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
|
posted

0
|
|
Thanks Bin and Mary
|
 |
 |
|
|
subject: interfaces
|
|
|