Skip to header Skip to main navigation Skip to main content Skip to footer

User account menu

  • Log in
Home
COPA
Computer Operator and Programming Assistant

Main navigation

  • Home
    • COPA Assessment Criteria
    • COPA Job Role
    • Course Information
  • Books
  • Question Paper
  • Syllabus

JAVA Arithmetic, Assignment, Relational, Logical, Increment /Decrement operators and expressions

Breadcrumb

  • Home
  • Introduction to Programming in Java
  • JAVA Arithmetic, Assignment, Relational, Logical, Increment /Decrement operators and expressions

Network

ITI Trade Subject

  • ITI Electrician
  • ITI Fitter
  • ITI COPA
  • ITI Welder
  • ITI Mechanic
  • ITI Electronics
  • ITI Wireman
  • ITI Draughtsman Civil & Mech
  • ITI Refrigeration & Air Conditioning
  • ITI Turner
  • ITI Plumber
  • ITI Machinist
  • ITI Cosmetology
  • ITI Sewing
  • ITI Surveyor
By Anand | 12:30 PM IST, Fri March 13, 2026

Java Arithmetic, Assignment, Relational, Logical, Increment/Decrement Operators and Expressions

Operators are special symbols used in programming languages to perform specific operations on variables and values. In Java programming, operators play an important role in performing calculations, comparing values, and controlling program logic.

Java provides several types of operators that allow programmers to manipulate data efficiently. Some of the most commonly used operators include arithmetic operators, assignment operators, relational operators, logical operators, and increment/decrement operators.

For students studying the ITI COPA (Computer Operator and Programming Assistant) trade, understanding Java operators is very important because they are used in almost every Java program.

What are Expressions in Java?

An expression in Java is a combination of variables, operators, and values that produces a result.

Example:

int sum = 10 + 5;

In this example, 10 + 5 is an expression that evaluates to 15.

Expressions are widely used in Java programs for performing calculations and evaluating conditions.

Arithmetic Operators

Arithmetic operators are used to perform mathematical calculations such as addition, subtraction, multiplication, and division.

OperatorDescriptionExample
+Additiona + b
-Subtractiona - b
*Multiplicationa * b
/Divisiona / b
%Modulus (remainder)a % b

Example program:

public class ArithmeticExample {

    public static void main(String[] args) {

        int a = 10;
        int b = 5;

        System.out.println("Addition: " + (a + b));
        System.out.println("Subtraction: " + (a - b));
        System.out.println("Multiplication: " + (a * b));
        System.out.println("Division: " + (a / b));
        System.out.println("Modulus: " + (a % b));

    }

}

This program demonstrates basic arithmetic operations.

Assignment Operators

Assignment operators are used to assign values to variables.

OperatorDescriptionExample
=Assign valuea = 10
+=Add and assigna += 5
-=Subtract and assigna -= 3
*=Multiply and assigna *= 2
/=Divide and assigna /= 2
%=Modulus and assigna %= 2

Example:

int x = 10;
x += 5;

System.out.println(x);

The value of x becomes 15.

Relational Operators

Relational operators are used to compare two values. They return a boolean result (true or false).

OperatorDescriptionExample
==Equal toa == b
!=Not equal toa != b
>Greater thana > b
<Less thana < b
>=Greater than or equal toa >= b
<=Less than or equal toa <= b

Example:

int a = 10;
int b = 20;

System.out.println(a < b);

This statement returns true.

Logical Operators

Logical operators are used to combine multiple conditions. They are commonly used in decision-making statements such as if and while.

OperatorDescription
&&Logical AND
||Logical OR
!Logical NOT

Example:

int age = 20;

if(age > 18 && age < 60) {
    System.out.println("Eligible");
}

The condition returns true only if both conditions are satisfied.

Increment and Decrement Operators

Increment and decrement operators are used to increase or decrease the value of a variable by one.

OperatorDescription
++Increment operator
--Decrement operator

Increment Operator Example

int x = 5;
x++;

System.out.println(x);

The value of x becomes 6.

Decrement Operator Example

int y = 5;
y--;

System.out.println(y);

The value of y becomes 4.

Types of Increment Operators

Java supports two types of increment operations.

Pre-Increment

In pre-increment, the value is increased before it is used.

int a = 5;
++a;

Post-Increment

In post-increment, the value is increased after it is used.

int b = 5;
b++;

Operator Precedence

Operator precedence determines the order in which operations are performed in an expression.

Example:

int result = 10 + 5 * 2;

Multiplication is performed first, so the result becomes 20.

Importance of Operators in Java

Operators are essential in programming because they allow programmers to perform calculations and evaluate conditions.

  • Perform mathematical operations
  • Control program flow
  • Evaluate conditions
  • Manipulate data efficiently

Without operators, it would be difficult to perform basic programming tasks.

Importance for ITI COPA Students

For students studying the ITI COPA trade, understanding Java operators is very important because they are used in almost every Java program.

Operators help students perform calculations, evaluate conditions, and build logical programs.

These skills are essential for learning advanced topics such as control statements, loops, and object-oriented programming.

Conclusion

Java provides several types of operators including arithmetic, assignment, relational, logical, and increment/decrement operators.

These operators allow programmers to perform calculations, compare values, and control program logic.

Understanding Java operators and expressions helps programmers write efficient and logical programs.

For ITI COPA students, mastering these operators provides a strong foundation for learning advanced Java programming concepts and developing real-world software applications.

Book traversal links for JAVA Arithmetic, Assignment, Relational, Logical, Increment /Decrement operators and expressions

  • ‹ Input using Scanner class and Console class methods
  • Up
  • JAVA Input and Output streams, System in, System out ›
  • Printer-friendly version

Article

Types of Files in Computer System
Safety Signs and Symbols Used in Workplace
Safety Rules While Using Computer
Can I start my own business after doing ITI in COPA trade?
Scope in Government Jobs after Doing ITI in COPA

Books

Introduction to Programming in Java
Programming language (Python)
Cloud Computing
Cyber Security
Advanced Excel Concepts
Database Concepts
Communicating in a Connected World
Using Spread Sheet Application
Designing Static Web Pages
Internet Concepts
Configuring and Using Networks
Database Management
Image editing, Creating presentations & Using Open Office
Using Word Processing Software
Familiarization with DOS CLI & Linux Operating Systems.
🖥️ Computer Hardware Basics and Software Installation
🖥️ Computer Components and Windows Operating System
Cyber Security
E Commerce
Smart Accounting
Introduction to VBA, Features and Applications
Introduction to JavaScript 🧠💻
Web Design Concepts
Internet Concepts 🌐
Networking Concepts 🌐
🗄️ Database Management Systems (DBMS)
Power Point Presentations
📊 Spreadsheet Application – Trade Theory for COPA
📝 Word Processing – Trade Theory for COPA
🖥️ Introduction to DOS Command Line Interface & Linux Operating System – Trade Theory for COPA
🖥️ Computer Hardware Basics and Software Installation – Trade Theory for COPA
Introduction to Computers and Windows Operating System

Question Paper

Hindi

COPA 2024 – प्रश्न पत्र सेट 11
COPA 2024 – प्रश्न पत्र सेट 1
COPA 2024 – प्रश्न पत्र सेट 2
COPA 2024 – प्रश्न पत्र सेट 3
COPA 2024 – प्रश्न पत्र सेट 4
COPA 2024 – प्रश्न पत्र सेट 5
COPA 2024 – प्रश्न पत्र सेट 6
COPA 2024 – प्रश्न पत्र सेट 7
COPA 2024 – प्रश्न पत्र सेट 8
COPA 2024 – प्रश्न पत्र सेट 9
COPA 2024 – प्रश्न पत्र सेट 10

English

ITI COPA 2023 Question Paper
ITI COPA 2023 Question Paper – Set 2
ITI COPA 2023 Question Paper – Set 3
ITI COPA 2023 Question Paper – Set 4

Common Subject

  • Engineering Drawing
  • Employability Skills
  • Workshop Calculation Science

Directory

  • Industrial Training Institutes
  • Engineering College
  • Medical College

Knowledge Bank

  • ITI Syllabus
  • Tools

Copyright © 2026 Company Name - All rights reserved

Developed and Designed by Alaa Haddad at Flash Web Center, LLC