FileDocCategorySizeDatePackage
FinalMethods.javaAPI DocExample530Sun Mar 11 11:40:30 GMT 2001None

FinalMethods

public final class FinalMethods extends Object
Investigate inlining of final methods. You need to investigate the resulting class file when generated from various compilers and options.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		new FinalMethods().work();
	
public voidmethodA()

		System.out.println("In MethodA");
	
private final voidmethodB()

		System.out.println("In MethodB");
	
public voidmethodC()

		System.out.println("In MethodC");
	
public voidwork()

		methodA();
		methodB();
		methodC();