HCL Placement Paper

1. Write a program to print your name in Java?

2. In the above program what does public static void main signify?

3. Write a program to add elements to a list?

4. What data type can be added to a List?

5. How we can specify data type of specific type in List?

6. Write a program to iterate through a List?

7. What is the difference between List and Map?

9. In Selenium, what is WebDriver - a class or interface?

10. Why we can't create instance of WebDriver directly?

11. What is the difference between findElement and findElements? Explain scenario when it is used?

12. Do you know to create a Framework for test execution ?

13. What is the version of Selenium used?

14. In Selenium write code to access FirefoxDriver?