G
G. Ralph Kuntz, MD
According to the Java language specification, a method can only be
"inlined" by the compiler if it is declared final (necessary, but not
complete requirement).
If I declare a class to be final, this implies that all of the methods
are final. Will javac inline the methods (if other conditions are met)?
"inlined" by the compiler if it is declared final (necessary, but not
complete requirement).
If I declare a class to be final, this implies that all of the methods
are final. Will javac inline the methods (if other conditions are met)?