hi,
In catch block can we assign values to
string.
I have code like this
String result=""
try{
//do some thing
result="success";
}
catch(Exception e)
{
//if exception
result="failure"; >>>> can assigning operations like this be done in catch block??;!
System.out.println("Exception"+e);
}
return result;
thanks
hema