Which class is super class of every class

Import same package class twice Will JVM load package twice runtime

OR
Can I import same package/class twice ? Will JVM load package twice at runtime ?

Answer : Yes you can import multiple times but JVM will load only once others will be ignored by JVM.

One thought on “Import same package class twice Will JVM load package twice runtime”

Leave a Reply

Your email address will not be published. Required fields are marked *