Home Tutorialhelp Allcomments Java Java Exception Cast Exception

 
 

Comments

 
User Comments for the tutorial:

Example to show cast exception in java



Advertisement
Comments

Why i have to put the Integer in the Vector?
I have the same exception. Why i have to put the Integer in the Vector? Please, you can say me? Thank-you! 

Getting exception plz help
getting cast exception for the solution provied above as. Integer y = new Integer((String)obj) instead of String y = (String)obj. could you please help me with how to convert from Boolean to Integer? 

Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com