Basic Java Example