FileDocCategorySizeDatePackage
FinalReplacement.javaAPI DocExample1451Sun Dec 14 22:47:32 GMT 2003oreilly.hcj.finalstory

FinalReplacement

public class FinalReplacement extends Object
Demonstrates how final variables are replaced at compilation time.
author
Robert Simmons jr. (kraythe)
version
$Revision: 1.3 $

Fields Summary
public static final String
A_STRING
A string constant
public static final int
AN_INT
An int constant.
public static final double
A_DOUBLE
A double constant.
public static final int[]
AN_ARRAY
An array constant.
public static final Color
A_COLOR
A color constant.
Constructors Summary
Methods Summary
public voidsomeMethod()
A demonstration method.


	    	 
	   
		System.out.println(A_STRING);
		System.out.println(AN_INT);
		System.out.println(A_DOUBLE);
		System.out.println(AN_ARRAY);
		System.out.println(A_COLOR);