class bitwise_operator
{
public static void main(String args[])
{
int var1 = 42
int var2 = -var1;
System.out.print(var1 +""+ var2);
}
}
Answers
Answered by
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
Psychology,
3 months ago
Science,
3 months ago
Social Sciences,
3 months ago
Math,
6 months ago
Sociology,
11 months ago
Sociology,
11 months ago