Domanda di colloquio di Virtusa

These questions were from java dbms software engg. And two java programs are to be created which are easy but require knowledge of datainputstream.