What will be the output of the following program ?
public class Prg
{
public static void main(String args[])
{
System.out.print("A" + "B" + 'A');
}
}
1
ABA
2
AB65
3
Error
4
AB
What will be the output of the following program ?
public class Prg
{
public static void main(String args[])
{
System.out.print("A" + "B" + 'A');
}
}