Q. What is the maximum value that can be stored in a byte variable in Java?
β
Correct Answer: (A)
127
Explanation: In Java, the byte data type is a signed 8-bit integer type. Being signed means that it can represent both positive and negative values. The maximum value that can be stored in a byte variable is 127.