Deloitte interview question

1. code to connect sql/database to selenium 2. code to read data from excel in Selenium JAVA 3. what are implicit wait and explicit wait 4. Code in JAVA to remove spaces in a String 5. Code in JAVA to Count repeated characters in a String 6. What are the Access modifiers 7. SQL to fetch second most having highest salary 8. Difference between Union and Union All command 9. Explain Severity and priority 10. what is the priority of bug when you're unable to open login web page