关于以下application的说明正确的是 1 class StaticStuff2static int x=10;34static x+=5;5 public static void main String args67 Systemoutprintlnx=+x;819staticx=3;10单选4行与9行不能通过编译因为缺少方法A、名和返回类型B、9行不能通过编译因为只能有一个静态初始化器编
D、编译通过,执行结果为:x=3
原文地址: http://www.cveoy.top/t/topic/iTWs 著作权归作者所有。请勿转载和采集!