This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Why does the following code give me classCastException error some LinkedList Integer.parseInt(nonRTarrivalTime.getFirst()) and ((Integer)nonRTarrivalTime.getFirst()).intValue() I have tried both and they give me the same error. thanks in advance.
Joined: May 22, 2003
Never mind I casted it to a string and then to int.