Java provides many types of operators which can be used according to the need. They are classified based on the functionality they provide. Some of the types are-

  • Arithmetic Operators
  • Relational Operators
  • Bitwise Operators
  • Logical Operators
  • Assignment Operators
  • Arithmetic Operators: They are used to perform simple arithmetic operations on primitive data types. 
    • Multiplication(*)
    • Division(/)
    • Modulo(%)
    • Addition(+)
    • Subtraction(-)

Program:

public class ArithmeticOperator { public static void main(String args[]) { int a = 10; int b = 20; System.out.println("a + b = " + (a + b) ); System.out.println("a - b = " + (a - b) ); System.out.println("a * b = " + (a * b) ); System.out.println("b / a = " + (b / a) ); System.out.println("b % a = " + (b % a) ); } }

Output:

a + b = 30 a - b = -10 a * b = 200 b / a = 2 b % a = 0

  • Progamming is what actually means ?
  • What is software development ?
  • How we categorized software development in different manner.
C Programming
C Plus Plus
Python
Java Development
Web Designing
Javascript
Mysql
Oracle
We cover all the programming concepts in various programming languages, this tutorials are very help full for bigener as well as Experience developer, for the ease of understanding we categorized programming in different manner likewise.