0% found this document useful (0 votes)
6 views3 pages

Arithmetic Operator

Arithmetic operator

Uploaded by

Sanket Bodade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Arithmetic Operator

Arithmetic operator

Uploaded by

Sanket Bodade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Late Purushottam Hari (Ganesh) Patil Shikshan Sanstha’s

Mauli Group of Institutions’, LABORATORY MANUAL


College of Engineering & Technology, Shegaon.

PRACTICAL EXPERIMENT INSTRUCTION SHEET


EXPERIMENT TITLE: Develop a program to explain use of Operators in java.

EXPERIMENT NO.MGICOET /WI/CSE/3KS06-OOP/02 ISSUE NO. : ISSUE DATE :


00
DEPT. : COMPUTER SCIENCE AND ENGINEERING
SEMESTER : 3rd
LABORATORY : OBJECT ORIENTED PROGRAMMING PAGE :1 OF 3

Aim: Develop a program to explain use of Operators in java.

Theory: Operators are symbols that perform operations on variables and values. For
example, + is an operator used for addition, while * is also an operator used for multiplication.
Operators in Java can be classified into 5 types:

1. Arithmetic Operators

2. Assignment Operators

3. Relational Operators

4. Logical Operators

5. Bitwise Operators

Arithmetic Operators:

Arithmetic operators are used to perform arithmetic operations on variables and data. For
example, a + b;

Here, the + operator is used to add two variables a and b. Similarly, there are various other
arithmetic operators in Java.
Operator Operation
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulo Operation (Remainder after division)

Program:

Output

Conclusion:

Hence we have studied to implement Arithmetic Operators.

You might also like