jedistar
asked on
Java Byte Code Compiler & New objects
1. I would like to know how does the Java Byte Code Compiler work,
whats the difference between "JIT just-in-time compiler" & intepreted methods?
How does Hotspot VM compiler come in?
2. Whats the difference between using new() to create new objects
and Class.newInstance();
thanks.
whats the difference between "JIT just-in-time compiler" & intepreted methods?
How does Hotspot VM compiler come in?
2. Whats the difference between using new() to create new objects
and Class.newInstance();
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
new <class>() is faster than using reflection Class.newInstance()