Yardi Systems interview question

mostly asked on previous projects . Java concepts sql