So I'm still a beginner at programming and Java. There is an upcoming project in a company where I currently am as a High School Intern. Part of that project is reading excel files and storing the data in variables to be used later.
To learn more about file reading and writing, I tried codes that I found on the internet to implement once and then go over them to understand what is going on in there. The problem is, most codes online show multiple Syntax errors and just straight up don't work. There isn't any real step by step guide that explains what exactly is required for reading Excel files and how to write a code for that.
Apparently there seems to be no Syntax issue other than the unqualified enum. I'm using NetBeans IDE and it only highlights these three:
1) Cell.CELL_TYPE_NUMERIC: error: an enum switch case label must be the unqualified name of an enumeration constant case Cell.CELL_TYPE_NUMERIC
2) Cell.CELL_TYPE_STRING:error: an enum switch case label must be the unqualified name of an enumeration constant case Cell.CELL_TYPE_STRING
3) Cell.CELL_TYPE_BOOLEAN:error: an enum switch case label must be the unqualified name of an enumeration constant case Cell.CELL_TYPE_BOOLEAN