Hello all...
Can someone explain me why in the below program, the Output
does not print the Char 'V'.
class Process
{
boolean b;
public Process(int x)
{
System.out.println((char)x);
}
}
public class
Test {
Process p3 = new Process('V');
public static void main(
String[ ] args)
{
Process p4 = new Process('X');
}
static Process p1 = new Process('J');
static Process p2 = new Process('$');
}
The Output of the Above Prog:-
J
$
X
Why doesn't the Char 'V' is not included in Output ?
Thanks.