iProgrammer interview question

Exception handling, Multithreading, File Handling, Difference between unique and primary key.