Posted By:
Manikandan_Ramanthan
Posted On:
Tuesday, October 9, 2001 04:28 AM
I am not sure that there is any predefined method in java for acquiring your result,but I have sent the coding along with this mail for your ref.so,if you substitute this with yours,the program works fine.
dem.java
--------
class dem{
public static void main(String ar[])
{
int i=42;
char c=(char)i;
System.out.println(c);
}
}