🧠Guess The Output Of The Java Program🤔#1 | #shorts

preview_player
Показать описание
🧠Guess The Output Of The Java Program🤔#1 | #shorts #java #coding #programming #javaoutput
.
.
Explanation :-
In the main() method, we created three local variables a, b, and c initialized with 234, 254, and 0 respectively.

Now evaluate the expression:

c = a*10+b-a;
c = 234*10+254-234;
c = 2340+254-234;
c = 2360
.
.
.
.
Do not forget to like share and subscribe guys 💖
Рекомендации по теме
Комментарии
Автор

Explanation :-
In the main() method, we created three local variables a, b, and c initialized with 234, 254, and 0 respectively.

Now evaluate the expression:

c = a*10+b-a;
c = 234*10+254-234;
c = 2340+254-234;
c = 2360

bhuvicodes
welcome to shbcf.ru