6D Technologies interview question

They asked about basic java questions and problems to solve. There were two rounds.