Computer Science, asked by ashubeast00, 6 months ago

make 3 program of operators in java.​

Answers

Answered by aditya120411kumar
1

Explanation:

Java Assignment Operator Example

class OperatorExample{

public static void main(String[] args){

int a=10;

a+=3;//10+3.

System.out.println(a);

a-=4;//13-4.

System.out.println(a);

a*=2;//9*2.

Answered by lakshaysethi2006
1

Answer:

Java Assignment Operator Example

class OperatorExample{

public static void main(String[] args){

int a=10;

a+=3;//10+3.

System.out.println(a);

a-=4;//13-4.

System.out.println(a);

a*=2;//9*2.

Explanation:

Similar questions