单项选择题
容器被重新设置大小后,哪种布局管理器的容器中的组件大小不随容器大小的变化而改变?()
A. CardLayout
B. FlowLayout
C. BorderLayout
D. GridLayout
点击查看答案&解析
相关考题
-
单项选择题
要从文件" file.dat"文件中读出第10个字节到变量C中,下列哪个方法适合? ()
A. FileInputStream in=new FileInputStream("file.dat"); in.skip(9); int c=in.read();
B. FileInputStream in=new FileInputStream("file.dat"); in.skip(10); int c=in.read();
C. FileInputStream in=new FileInputStream("file.dat"); int c=in.read();
D. RandomAccessFile in=new RandomAccessFile("file.dat"); in.skip(9); int c=in.readByte(); -
单项选择题
运行下列程序, 会产生什么结果()
A. 第一行会产生编译错误
B. 第六行会产生编译错误
C. 第六行会产生运行错误
D. 程序会运行和启动 -
单项选择题
指出下列程序运行的结果()
A.good and abc
B.good and gbc
C.test ok and abc
D.test ok and gbc
