Java Programming Quiz Questions - Q1 - Java Interview Crackers #Shorts #Programming #Java

preview_player
Показать описание
Java Programming Quiz Questions - Q1 - Java Interview Crackers #Shorts #Programming #Java

Java Interview Questions and Answers
Java 8
jdk
JSP
Core Java
Spring
J2EE
Spring Boot
Microservices
Advanced Java
Java Restful Web services
Java script
JQuery

Like! Subscribe! Share!
Stay tuned!

Queries:
Java hello world
Java programming
Java programming for beginners
Java programming interview questions
Java programming tutorial
Java programming language
Java program in Eclipse
Java programming in hindi
Java programming for unity game development
Java programming in tamil
Java program in visual studio code
Java programming tutorial in hindi
Java programming in Eclipse
Java programming language in hindi
Java programs for interview
Рекомендации по теме
Комментарии
Автор

Expression can be written as

x = x - y = y / x * y
Follow BODMAS rule

Output will be

4 0

singamhariharan
Автор

Option C
Bcz
Y=y/x*y i.e 1/4 =0.5 =0;
X=x-y i.e 4-0=4;
Hence 4, 0 is the answer

ashokibhover
Автор

Option C: 4 0
Y = y / x* y = 0
x = x - y = 4
So the output is 4 0

vikshithcv
Автор

Please, make one more video on springboot related

Vithal_Nivargi
Автор

Compund assigned operator
So x-=y >4-2=2
Then 4
A correct answr

Mr.Brahman
Автор

Starting from Right to left

x*y (4*2) = 8,

y /= 8, (2/8) =0.25 will be stored in y truncating 0.25 to 0. Due to y is int datatype

x -= 0 (4-0) = 4.

Hence x= 4 and y = 0.

ganny
Автор

The comment section is giving me anxiety... What is the answer?

shuioso