jdk 1.7.0.25, simple implementation of user defined package and its usage in different class