I have an error while run my Application.
"Class Cast java/lang/Class Cast Exception"
My coding model:
public void startApp()
{
if(!fcon.exists())
{
Home he1=new Home();
he1.myApp(); //myApp() is a method present in another class
}
if(fcon.exists())
{
String s=language();// this method check and return selected language string
if(s.equalsIgnoreCase("English"))
{
Home ht1=new Home();
ht1.myApp(); // ERROR OCCURRED IN THIS LINE
}
}
}

Reply With Quote

