5 years ago in Java Operators

Which of the following operators can operate on a Boolean variable?
1. &&
2. ==
3. ?:
4. +=

[A] 3 & 2
[B] 1 & 4
[C] 1, 2 & 4
[D] 1, 2 & 3
Loading...
Next Question

Overall Stats

Attempted 214
Correct 74
Incorrect 57
Viewed 83

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 day ago

Shamsa hafeez from Lahore, Pakistan is saying 1, 2 & 4 is correct answer

Umayal Nachiappan
Umayal Nachiappan - 3 weeks ago

Umayal Nachiappan from Chennai, India is saying 1, 2 & 3 is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying 1 & 4 is correct answer

Cos Sinus
Cos Sinus - 1 month ago

Cos Sinus from Casablanca, Morocco is saying 1, 2 & 3 is correct answer

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying 1, 2 & 4 is correct answer

Related Questions

Which of these statements are incorrect?

  • [A] The left shift operator, <<, shifts all of the bite in a value to the left specified number of times.
  • [B] The right shift operator, >>, shifts all of the bite in a value to the right specified number of times.
  • [C] The left shift operator can be used as an alternative to multiplying by 2.
  • [D] The right shift operator automatically fills the higher order bits with 0.

Modulus operator, %, can be applied to which of these?

  • [A] Integers
  • [B] Floating – point numbers
  • [C] Both Integers and floating – point numbers
  • [D] None of the mentioned