I hope this topic is all right for this forum. It seems like something a beginner would see frequently.
I am working through Head First
Java, and often get compiler warnings like those below when compiling the code listings downloaded from the book's web site. What are they saying? Better yet where can I find a list of warnings with understandable explanations?
C:\Documents and Settings\forest gump\My Documents\My Books
\HeadFirstJava\chapter-6\jwj\GameHelper.java:82:
warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.ArrayList
alphaCells.add(temp.concat(Integer.toString(row)));
^
C:\Documents and Settings\forest gump\My Documents\My Books
\HeadFirstJava\chapter-6\jwj\GameHelper.java:90:
warning: [unchecked] unchecked conversion
found : java.util.ArrayList
required: java.util.ArrayList<java.lang.String>
return alphaCells;
^
2 warnings
Tool completed successfully
I usually type in the code from the book, so I can get familiar with the syntax. A compile with only warnings is a delight to see.