Computer Science, asked by manikumanache98, 5 months ago

class bitwise_operator
{
public static void main(String args[])
{
int var1 = 42
int var2 = -var1;
System.out.print(var1 +""+ var2);
}
}​

Answers

Answered by anindyaadhikari13
2

Answer:-

Given code,

class bitwise_operator

{

public static void main(String args[])

{

int var1 = 42

int var2 = -var1;

System.out.print(var1 +""+ var2);

}

}

Here,

var1=42

var2=-var1=-42

So,

output:- 42-42

Output:-

42-42

Similar questions