Problem while compiling!!!
hi all,
I am doing simple java programs using vector or ArrayList . After compilation, it gives the following warning
Note: Recompile with -Xlint:unchecked for details.
why is this warning is being displayed?
hi all,
I am doing simple java programs using vector or ArrayList . After compilation, it gives the following warning
Note: Recompile with -Xlint:unchecked for details.
why is this warning is being displayed?
You're using at least Java 1.5 and ignoring the Generics.
Start here:
http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf
http://java.sun.com/docs/books/tutorial/extra/generics/index.html
Or if you refuse to implement Generics and want to get rid of those warnings, then recompile with the given parameter.
hi Balus C,
Thanks was able to understand the problem related to generic.
hi Balus C,
Thanks was able to understand the problem related to generic.