Predict the output of the following code:
public class Test {
public static void main(String args[]){
double c;
int a=-9;
int b=2;
c=a-b;
System.out.println(c);
}
}
A
7.0
B
11.0
C
-11.0
D
-7.0
Answers
Answered by
0
Answer:
search in google for answer in english
Explanation:
Answered by
0
Answer:
output is C
-11.0
Explanation:
its final answer
Similar questions