Assignment Operator in Java Program

Assignment Operator in Java Program

Assignment Operator in Java Program


assignment operator in java with example,assignment operator in java,operators and assignments in java,the assignment operator in java is,what is assignment operator in java


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);
}
}



Post a Comment

0 Comments