Hi,
This i found out recently.I would like to share with all respected javaranch people.
Q)Which is the default look up for class object during class loader until othereise specified. i.e assume that you have created two classes out of which one is called 'StringBuffer' and another one is called '
Test' which uses the 'StringBuffer' class.(both are stored in the same default package).
As we know that 'StringBuffer' is already availble in java.lang package.Now the queston, during compilation(or class loader)which class the JVM picks up for further processing until otherwise specified..
1) your default 'StringBuffer' class
2) java.lang.StringBuffer class
Regards
Prasad
------------------
[This message has been edited by Prasad Ballari (edited November 15, 2000).]