Solved

Have you, as yet, done what the second line of that Note says? BTW, you did notice that is a Note and not an error, right?

commented: Thank you! +0

please help me about my prob;em in compiling java code..
my code doent work because of its error.
it is noted that my code have used unchecked or unsafe operations...it is also stated that i need to recompile it to -Xlint..but i dont know what to do../

Have you, as yet, done what the second line of that Note says? BTW, you did notice that is a Note and not an error, right?

yep...its a note..i dont know what to do.. T.T
im just a student

yep...its a note..i dont know what to do.. T.T
im just a student

Recompile with the option that that message tells you to.

It has to do with Generics.

And you do realise that the program did compile, right? That is just a note, it does not keep your program from compiling, it does, however, prevent the compiler from guaranteeing type safety.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.