MCQ Single Best Answer Easy

QThe precedence of operators in Java follows BODMAS?

ID: #22211 Basic Concept of OOP 76 views
Question Info
#22211Q ID
EasyDifficulty
Basic Concept of OOPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A True
  • B false
Correct Answer: Option B

Explanation

In Java, the precedence of operators does not follow the BODMAS rule (Bracket, Order, Division, Multiplication, Addition, Subtraction) from mathematics. Instead, Java has its own rules for operator precedence, with some operators having higher precedence than others.

Share This Question

Challenge a friend or share with your study group.