网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
如果不使用布局管理器,会出现哪些问题?()
- A、当界面缩放时,会失去原有的外观;
- B、当界面最小化时,组件不会最小化;
- C、当界面缩放时,组件会随机地移动;
- D、高分辨率下设计的界面,在低分辨率下可能会超出桌面范围,从面无法看到;
- E、对每一个组件,都需要指定它的坐标位置;
参考答案
更多 “如果不使用布局管理器,会出现哪些问题?()A、当界面缩放时,会失去原有的外观;B、当界面最小化时,组件不会最小化;C、当界面缩放时,组件会随机地移动;D、高分辨率下设计的界面,在低分辨率下可能会超出桌面范围,从面无法看到;E、对每一个组件,都需要指定它的坐标位置;” 相关考题
考题
Class TestException 1. public class TestException extends Exception { 2. } Class a: 1. public class a { 2. 3. public String sayHello(String name) throws TestException { 4. 5. if(name == null) { 6. throw new TestException(); 7. } 8. 9. return “Hello “+ name; 10. } 11. 12. } A programmer wants to use this code in an application: 45. A a=new A(); 46. System.out.println(a.sayHello(”John”)); Which two are true?()A、 Class a will not compile.B、 Line 46 can throw the unchecked exception TestException.C、 Line 45 can throw the unchecked exception TestException.D、 Line 46 will compile if the enclosing method throws a TestException.E、 Line 46 will compile if enclosed in a try block, where TestException is caught.
考题
Which four can be thrown using the throw statement?() A、 ErrorB、 EventC、 ObjectD、 ThrowableE、 ExceptionF、 RuntimeException
考题
Given that a scoped attribute cart exists only in a user’s session, which two, taken independently, ensure the scoped attribute cart no longer exists?()A、 ${cart = null} B、 c:remove var="cart" / C、 c:remove var="${cart}" / D、 c:remove var="cart" scope="session" / E、 c:remove scope="session"cart/c:remove F、 c:remove var="${cart}" scope="session" / G、 c:remove scope="session"${cart}/c:remove
考题
JBuilder中包含多种文件,他们被放在不同的目录下,下面4种类型的文件描述中,哪种是错误的()A、编译后的java二进制码放在classes目录下B、java源文件放在scr目录下C、java程序运行时的工作目录就是工程所在目录,工作目录是指java程序运行时默认的当前目录D、编译中产生的obj临时文件和最终产生的可执行文件都放在Debug目录下
热门标签
最新试卷