Problem1: Display the value of variable
Display the value of variable
class Demo
{
public static void main(String [ ] args)
{
int a = 10;
System.out.println("a is "+a);
}
}
Output : 10
Note : Anything is coded with string is yet converted into string.
Comments