1. What is the difference between list and set?
2. How will you switch to another window?
3. What is the return type of driver.findelement / driver.getwindowhandles()?
4. What is the difference between Private and Protected?
5. How will you achieve dynamic polymorphism?
6. What are inheritance and encapsulation?
7. Can you override static methods?
8. Can the main method be overloaded?
9. What is Singleton?
10. What is collections in Java?
11. What is nested class?
12. How will you call a protected method in a nested class?
13....