1) Innter class 2) Static inner class example added.