Just for fun. Key idea is reading docs and learning language
File src = new File(filePath);
Java File class represents the files and directory pathnames in an abstract manner. This class is used for creation of files and directories, file searching, file deletion, etc. https://www.tutorialspoint.com/java/java_file_class.htm
FileInputStream fis = new FileInputStream(src);
A FileInputStream obtains input bytes from a file in a file system. What files are available depends on the host environment. https://docs.oracle.com/javase/7/docs/api/java/io/FileInputStream.html
XSSFWorkbook wb = new XSSFWorkbook(fis);
High level representation of a SpreadsheetML workbook. This is the first object most users will construct whether they are reading or writing a workbook. It is also the top level object for creating new sheets/etc. https://poi.apache.org/apidocs/org/apache/poi/xssf/usermodel/XSSFWorkbook.html
XSSFSheet sheet1 = wb.getSheetAt(0);
Get the XSSFSheet object at the given index. https://poi.apache.org/apidocs/org/apache/poi/xssf/usermodel/XSSFWorkbook.html