Selenium Automation Tester using Java Sample Questions

Sample Questions


1. What is a valid option to be used for PatternLayout with appender in Log4j?

A. DateLayout

B. HTMLLayout

C. PatternLayout

D. All of these

2. Select the commonly used components of Apache POI.




D. All of these

3. Which log4j component is responsible for capturing logging information?

A. loggers

B. appenders

C. layouts

D. None of these

4. What is needed by a new project in Eclipse?

A. Project Name

B. Location to save project

C. layout project

D. All of these

5. What is the data type of out object?

A. static 

B. static final 

C. final 

D. None of these

Answers: 1-D, 2-D, 3-A, 4-D, 5-B,


Apply for Certification

 For Support