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