hi,i was a beginner in java i have a doubt.
we use import to use the predefined classes.
we can also use package for importing classes.
import java.lang.*;
package java.lang.*;
what is the difference between imports and package
at what time we have to use differently.
plese try to help me.