Programs written in java