Example: item method

This example displays the name of the first sheet of a spreadsheet.

  Sheets sheets = spreadsheet.getSheets();
  System.out.println(sheets.item(1).getName());

Related information

item method