7 Programs written in Java