Computer Science, asked by kumarkrahul80, 2 months ago

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); 
}
}



7.0



11.0



-11.0



-7.0​

Answers

Answered by samyukthan568
0

Answer:

search in google for answer in english

Explanation:

Answered by booboonarabooboonara
0

Answer:

output is C

-11.0

Explanation:

its final answer

Similar questions