A default Frame Relay WAN is classified as what type of physical network?()
第1题:
下列哪一个方法是自动调整窗口的大小?
A.frame.setSize()
B.frame.setDefaultClose()
C.frame.pack()
D.frame.setVisible()
第2题:
A. atm-dxi
B. frame-relay
C. hdlc
D. lapb
E. ppp
第3题:
请完善程序(程序文件名:Java_2.java)并进行调试。请在下画线处填入正确内容,然后删除下画线。请勿删除注释行和其他已有的语句内容。
[题目要求]
在JFrame窗口中,显示一个字符串并保证窗口正常关闭和退出,使程序运行结果如下图所示。
源程序:
import javax.swing.*:
import java.awt.*;
public class Java_2 {
public static void main(String[] args) {
WelcomFrame. frame=new WelcomFrame();
frame.setDefaultCloseOperation(JFrame. (1) );
frame.show();
}
}
class WelcomFrame. extends (2) {
public WelcomFrame() {
setTitle("Java等级考试");
(3) (DEFAULT_WIDTH,DEFAULT_HEIGHT);
WelcomPanel panel=new WelcomPanel();
Container contentPane=getContentPane();
contentPane.add(panel);
}
public static final int DEFAULT_WIDTH=250;
public static final int DEFAULT_HEIGHT=100;
}
class WelcomPanel extends (4) {
public void paintComponent(Graphics g) {
super.paintComponent(g);
g.drawString("欢迎参加Java等级考试!",MESSAGE_X,MESSAGE_Y);
}
public static final int MESSAGE_X=60:
public static final int MESSAGE_Y=50:
}
第4题:
A new frame-relay network is being implemented and inverse ARP does not appear to be operating correctly. Which alternative command can be used to provide connectivity?()
第5题:
Select the 3 best answers describing operation and configuration of Frame-Relay Inverse ARP.()
第6题:
A. frame-relay arp
B. frame-relay map
C. frame-relay interface-dlci
D. frame-relay lmi-type
第7题:
A.show frame-relay end-to-end
B.show frame-relay map
C.show frame-relay lmi
D.show frame-relay pvc
第8题:
下列语句中所使用的布局管理器,当改变容器大小,组件大小不会随着一起改变的是
A.Frame. frame1=new Frame("FlowLayout");
B.Frame. frame1=new Frame("BorderLayout");
C.frame1=new Frame("example"); frame1.setLayout(new BorderLayout());
D.frame1.setLayout(new GridLayout(2,3));
第9题:
Which statement about Frame Relay is not true?()
第10题:
When configuring a serial interface on a router, what is the default encapsulation?()