Java Assignment Operators

Java Assignment Operators

Assignment Operator In Java
The assignment operator is also known as an arithmetic assignment operator.
Performs simple calculation and also assign the result to the left operand.
They are also known as shorthand or shortcut operators.
Now we will see Example - 
Example - 
// web designing house
// online promotion house


class Assignment {
    public static void main(String[] args)

        int a= 12, b = 30;

        System.out.println("a = " +a);
        System.out.println("b =" +b);

        // Adding & Assigning values
        a += b;

      // Displaying the assigned values
        System.out.println("a= " +b);