Operators in Java

An operator is a symbol that tells the compiler to perform specific mathematical or logical functions. C language is rich in built-in operators and provides the following types of operators :

  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Bitwise Operators
  • Assignment Operators
  • Increment and Decrement Operators
  • Conditional Operators
  • Special Operators

Example Programs

Program [1]

Write a program using int variables to find the sum of three numbers say 15, 36 and 45 and subtract the result from 100 using variables.

View Solution

Program [2]

Write a Java program which accept the radius and height of cylinder and calculate the area of a cylinder.

View Solution

Program [3]

Write a java program to input three integers and find the difference between their sum and their average.

View Solution

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad