make 3 program of operators in java.
Answers
Answered by
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
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