Question #5931

http://pastebin.com/BH4hwmPE
My code can't compile.It gives a "recompile with -xlint:unchecked for details" error message when i try to compile it in bluej.

Expert's answer

You must define class of objects in List. Try this:



List<Passenger> list = new ArrayList();

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS