Computer Science, asked by progatiraninag, 1 month ago

what will be the output of the following java program

class leftshift _ operator
{
public static void main ( string args [ ] )
{
byte x=64;
int i;
byte y;
i= x <<2
y= (byte) (x<<2)
System. out. println (i+ " " + y );
}
}​

Answers

Answered by Anonymous
7

Answer:

_ I HOPE HELP YOU _

Explanation:

what will be the output of the following java program

class leftshift _ operator

{

public static void main ( string args [ ] )

{

byte x=64;

int i;

byte y;

i= x <<2

y= (byte) (x<<2)

System. out. println (i+ " " + y );}}

Similar questions