Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why interface variables are public static and final

807603Nov 22 2007 — edited Nov 26 2007
Hi,

Again an interview question, why are the varaibles in interface always public static and final. What if its not static and final.

I have an answer the classes that implement this interface should the chamge its value? But why so?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2007
Added on Nov 22 2007
18 comments
1,880 views