Infosys interview question

Questions on Java, basic programs like palindrome, prime number etc. A few questions from database systems and OS.