Fidelity Investments interview question

Round 1: Telephone 1. Diff between linkedlist and arraylist 2. How do you locate dynamic web elements using XPath 3. My Rest API Automation Framework - Data Driven 4. Diff between Abstract class and interface 5. Final Keyword in Class, Method and Variable level 6. Why do we use Maven? 7. How does the maven build a jar and where it is placed? - Target folder 8. What configuration has to be done in the POM.xml to identify the starting point of the jar execution - <manifest> 9. How will I form the JSON request in my automation framework? 10. How will I form the XML request in my automation framework? 11. Why should we use TestNG 12. Do you know about any Searching algorithms and Sorting algorithms? 13. Diff between Overloading and Overriding 14. If I've configured NullPointerException and Exception in two diff catch blocks will both get executed? 15. Can I use finally without a catch block? 16. Have you injected a javascript in your selenium automation framework? If yes, explain?