Write a program to print integer value.
class PrintValue
{
public
static void main(String args[])
{
int
a=5;
System.out.println(“Value
of a is : ”+a);
}
}
OUTPUT :
Value of a is: 5
No comments:
Post a Comment