Java examples for Object Oriented Design:final
Using Final Variables (Or Constants)
public class Main { final static int BALL_RADIUS = 6; public static void main(String[] args) { System.out.println(Main.BALL_RADIUS); }//from ww w . j a va 2s . com }