When I write the following code:
System.out.println("Hello");
Will the println() method replaced by its definition at any time (during compilation or execution)?
If no, then how does the JVM comes to know what functionality it will do?
Is the information about the println() or any in-built method stored in any form in the class file ?
UPDATE: As @Andreas suggested a link, the answers I read there suggested that it is mostly upto the compiler whether to make it inline or not.
If it is so for those methods which are made inline by compiler, can we run them without having the class files of System and PrintStream classes ?