R4R Java SourceCode Assignment Operator Example

Assignment Operator Example:

SOURCE CODE

class assign
{
public static void main(String args[])
{
int a=2;
int b=45;
float c=3;
a%=2;
b*=3;
c+=2;
System.out.println("a="+a);
System.out.println("b="+b);
System.out.println("c="+c);
}
} 

Download Source File