Updated Java Programs