Infor Interview Question

SQL 1. Difference between primary key and unique key? 2. Difference between Having and Where in SQL? Java 3. What is Static Method and Variable? 4. How can you create JAR files? 5. What is Garbage collector? 6. Exceptional Handling