Java Program - What is the output for System.out.println(9+6-3*4/2%5); ?

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Sir this has been helping me alot, even a school teachers are not able to explain this properly .thanks sir

ShubhangiSahu-kfoh
Автор

Hi Sir,

Does the logic you are mentioning is right? As per BODMAS rule, I think multiplication should come after division.

stephenraj
Автор

Sir u don't how much ua helping non technical students thank you very much sir😊

Siddharth
Автор

It is not about the priority of the operator. It's about their associativity. Because *, /, % share same priority. But associativity of these will be from left to right.

Vikash-zqvx
Автор

can u provide the notes for this class

srinivas
Автор

sir can you provide the link for notes

venkataramanasama