Apache POI - Mock Test



This section presents you various set of Mock Tests related to Apache POI. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.

Questions and Answers

Apache POI Mock Test II

Answer : D

Explanation

XSSFWorkbook class is a class that is used to represent both high and low level Excel file formats. It belongs to the org.apache.xssf.usemodel package and implements the Workbook interface.

Answer : D

Explanation

HSSFSheet class is a class under the org.apache.poi.hssf.usermodel package. It can create excel spreadsheets and it allows to format the sheet style and sheet data.

Answer : C

Explanation

XSSFSheet is a class which represents high level representation of excel spreadsheet. It is under org.apache.poi.hssf.usermodel package.

Answer : C

Explanation

XSSFRow is a class under the org.apache.poi.xssf.usermodel package. It implements the Row interface, therefore it can create rows in a spreadsheet.

Answer : D

Explanation

XSSFCell is a class under the org.apache.poi.xssf.usermodel package. It implements the Cell interface. It is a high-level representation of cells in the rows of a spreadsheet.

Answer : D

Explanation

XSSFCellStyle is a class under the org.apache.poi.xssf.usermodel package. It will provide possible information regarding the format of the content in a cell of a spreadsheet. It also provides options for modifying that format. It implements the CellStyle interface.

Answer : D

Explanation

HSSFColor is a class under the org.apache.poi.hssf.util package. It provides different colors as nested classes. Usually these nested classes are represented by using their own indexes. It implements the Color interface.

Answer : D

Explanation

XSSFFont is a class under the org.apache.poi.xssf.usermodel package. It implements the Font interface and therefore it can handle different fonts in a workbook.

Answer : D

Explanation

XSSFHyperlink is a class under the org.apache.poi.xssf.usermodel package. It implements the Hyperlink interface. It is used to set a hyperlink to the cell contents of a spreadsheet.

Answer Sheet

Question Number Answer Key
1 D
2 D
3 C
4 C
5 D
6 D
7 D
8 D
9 D
apache_poi_questions_answers.htm
Advertisements