Why does '(int)(char)(byte)-2' produce 65534 in Java?

前端 未结 0 1105
终归单人心
终归单人心 2020-12-23 06:57

I encountered this question in technical test for a job. Given the following code example:

public class Manager {
    public static void main (String args[])         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题