Computer Applications
Name the operators listed below:
- <
- ++
- &&
- ? :
Java Operators
ICSE 2017
22 Likes
Answer
- Less than operator. (It is a relational operator)
- Increment operator. (It is an arithmetic operator)
- Logical AND operator. (It is a logical operator)
- Ternary operator. (It is a conditional operator)
Answered By
13 Likes
Related Questions
A store has purchased some cola cans of various brands. It purchased 50 cans @ ₹15 per can, 30 cans @ ₹20 per can and 40 cans @ ₹21 per can. Write a Java program to compute how much amount did the store pay.
Write a Java program to obtain principal amount, rate of interest and time from user and compute simple interest.
Rewrite the following program segment using logical operators:
if(x > 5) if(x > y) System.out.println(x + y);if (a>b&&b>c) then largest number is:
- b
- c
- a
- wrong expression