ZIGRAM interview question

Technical questions and something about oops and java