This is a collection of some basic and intermediate level codes written in Java.