14281. What will be output of following program? public class Test{public static void main(String[] args){byte b=127; b++; b++; System.out.println(b); } } ?

A. 127
B. -127
C. 129
D. -129
✅ The correct answer is option B.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top