Operators in Java
This tutorial is explain about How many types of Java Operators explanation of arithmetic, logical, assigned and comparison operators with example of Java Programming.
Java Operators using a different types in Java:-
Arithmetic Operators:-
Additions(+):-
Example- int mValueA=10;
int mValueB=5;
int mSum= mValueA+ mValueB;
System.out.println("TotalValue=" +mSum);
Answer :- TotalValue=15
Substraction(-):-
Example- int mValueA=10;
int mValueB=5;
int mSub= mValueA-mValueB;
System.out.println("TotalValue=" +mSub);
Answer :- TotalValue=5
More read....















