Question: Consider the following Java snippet: int x = 3 & 5 int y = 3 | 5 | ; The values of ' x '

Consider the following Java snippet:
int x=3&5
int y=3|5|;
The values of 'x' and 'y'(respectively) are:
Pick ONE option
2,8
8,-2
1,8
2,7
Consider the following Java snippet: int x = 3 &

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!