Javatpoint Logo

Apache POI class explaination

By: kh.m.n*** On: Mon Aug 14 19:22:06 IST 2017     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
I just need a good explanation for the following lines:

Workbook wb = WorkbookFactory.creatr ();

Sheet s = wb.getSheet ("sheet name");

specially this sector

Sheet s = wb.getSheet

what is the relation between Sheet and wb?

Also, does Sheet is a pre-defined class and we make an instance of it as " s "

furthermore, Is wb.getSheet is a method "getSheet" inside class wb or what

Thanks in advance.
Up0Down