Infogain interview question

self,java,sql and program on java