1. The code will fail to compile. The class com.abhilash.abhilash can never be imported. 2. The code will compile. Runtime error occurs if one of the class in the import does not exist and is referenced. 3. The code will compile and run with out any problem The answer is given as 1. I feel that is wrong.
lakshmi, I seem to remember reading somewhere that a subpackage cannot have the same name as it's package. So I think '1' is right. It won't compile as 'com.abhilash.abhilash' would not be allowed. ------------------ Jane The cure for boredom is curiosity. There is no cure for curiosity. -- Dorothy Parker [This message has been edited by Jane Griscti (edited November 20, 2000).] [This message has been edited by Jane Griscti (edited November 20, 2000).]