Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public static final variables
  2.  
  3. 1. Interface variables are static because Java interfaces cannot be instantiated in their own right; the value of the variable must be assigned in a static context in which no instance exists.
  4.  
  5. 2. The final modifier ensures the value assigned to the interface variable is a true constant that cannot be re-assigned by program code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement