how to use package efficicently in java code example Example: java within class and within package import java.util.Scanner