Assignment Operator in Java Program
Assignment Operator
class santhosh
{
public Static void main(String arg[])
{
int a,b,c,d;
a=100;
b=100;
c=100;
d=100;
a+=100;
b-=100;
c*=100;
d/=100;
System.out.println("The value of a is:"+a);
System.out.println("The value of b is:"+b);
System.out.println("The value of c is:"+c);
System.out.println("The value of d is:"+d);
}
}
0 coment�rios:
Post a Comment