SrinSoft Technologies interview question

java core , oops , gd