differences between .* import and class import
807589Jun 20 2008 — edited Jun 23 2008Hi All,
I want a clarification on import statements. Some one please clarify me whether there will be an impact on JVM at compile time or run time if we use .* in import statements
For eg: import java.sql.*;
or is it a better way to import only those classes which are necessary at run or compile time
For eg: import java.sql.PreparedStatement;
Please clarify me.
Thanks in advance