Sprint1: Dev1JavaFile1 changes done.
New method added in the class.

Dev1 changes