Link to home
Start Free TrialLog in
Avatar of jedistar
jedistarFlag for Singapore

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.
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Webstorm
Webstorm

>> 2. Whats the difference between using new() to create new objects and Class.newInstance();
new <class>()  is faster than using reflection Class.newInstance()