Multiple Choice Question

Quiz Guidelines

 

QID: 
99
Question: 

What will the following program print?

public class TestClass{
public static void main(String[] args){
unsigned byte b = 0;
b--;
System.out.println(b);
}
}

Select 1 option

A. 0
B. -1
C. 255
D. -128
E. It will not compile.

Q&A Set: