programs in java 993907