单项选择题

下列语句中正确的是

A.Syste ou println(1+'1');
B.int i=2+"2";
C.Sting s="on"+'ong';
D.byte b=257;
<上一题 目录 下一题>
热门 试题

单项选择题
Swing与AWT相比新增的布局管理器是
A.CardLayout
B.CardLayout
C.CardBagLayout
D.BoxLayout
单项选择题
下列语句能给数组赋值而不使用for循环的是
A.myArray{[1]="One";[2]="Two";[3]="Three";}
B.String s[5]=new String[]{"Zero", "One", "Two", "There", "Four"};
C.String s[]=new String[]{"Zero", "One", "Two", "There", "Four"};
D.String s[]=new String[]=|"Zero", "One", "Two", "There", "Four"};
相关试题
  • Java中,可以通过建立java. lang. 【1...
  • Swing中的组件往往采用MVC结构,MVC指的是M...
  • 如果一个线程调用 【15】 ()方法,将...
  • 请将下面的Applet程序补充完整。 import ...
  • 请将下面程序补充完整。 public class P...