vardhan reddy wrote:Hi All,
How JVM will find is loading file is class or interface. How it will find extended/implemented files.
Thanks.
Well, I'm not sure if I understand your question correctly, but this is what I think:
1) When we write a class or interface, we clearly mention in code that whether it is a class or interface right? So, I don't think JVM should face any issues while identifying if it is class or interface.
2) JVM couples classpath and package hierarchy (i.e. import and package statements) to search classes.
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)