gfgfghghg
-----------------Type and answer by HiepLT------------------
--------------------------------Swing--------------------------------
1. Swing is a component of _____[JFC (Java Foundation Class)]
2. JApplet, JDialog, JFrame, and JWindow ..components[TRUE]
3. What of the following import …swing class.[import javax.swing.*]
4. To have a TextArea display ..within a ScrollPane.[true]
6. Using new TextField(10) will …of input.[false]
7. The JFileChooser by default …current directory[true]
8. The _____ event is …the component[mouseExited]
10. A JDialog is a top-level container[true]
11. A JColorChooser cannot be added as a component[false]
12. All swing components can have a MouseListerner.[true]
14. Swing uses a set of class called _____ to handle events.[ event listeners]
19. A menu system provides …as menu bar[false]
20. A JComboBox is a …and a textfield[true]
22. The JList has a …selection listener[true]
23. You have to …the data changes[true]
24. The two components …below the other[true]
25. The method …event handler[true]
26. Whenever an applet ..the _____ method is called.[ public void init()]
27. A container is an area …your components[true]
28. The ActionListener …Adapter class.[true]
29. The CheckboxGroup is a subclass of Component.[false]
31. The addTabPane() method ..tab to JTabbedPane[false]
32. How to set the single list item to be selected[setSelectedIndex()]
33. Nodes which have children are called leaf-nodes[false]
34. To disassociate an event …must you do?[ call the remove…]
35. Formatting the captions …locale-sensitive manner[true]
36. The default layout manager for a Frame is …[borderlayout]
37. Which of the following layout …Frame class in Java?[ BorderLayout]
38. Which of the following layout …Applet class in Java? [BorderLayout]
39. _____ uses the geographic… of component[BorderLayout]
40. The default horizontal and vertical gap in BorderLayout is[0 pixel]
41. Can a container have multiple layout managers?[no]
42. The default alignment of buttons in Flow Layout is ...[center]
43. What is the default …a FlowLayout?[ FlowLayout.CENTER]
44. How do you …for a container?[ Use the setLayout(...) method]
45. Which of the following layout …on both axes?[ GridLayout]
46. When using the CardLayout …size determined?[ The component…]
47. The _____ layout places …and columns[GridLayout]
49. If all five areas …widest button?[center]
52. What is the default filling of GridBagConstraint?[ NONE]
53. You are using the GridBagLayout …to do that?[ The fill]
54. Which GridBagLayout …display area?[insets]
55. Which GridBagLayout variable… display area?[anchor]
58. With Localization, in order …recompilation[false]
60. MessageFormat class …one parameter[true]
62. We can create a …countriesfalse
64. Internationalized software …engineering changes[true]
66. By using the String …Unicode system[true]
69. TCP is a connection-based …two computers[true]
70. TCP doesn’t guarantees …other end[false]
71. Java provides the java.net …communications[false]
72. Reserved ports ranges from 0 to 1023[true]
74. Which class stores infomation …port number.[url]
76. URLConnection is an abstract class[true]
78. When using URL class, …that URL?[ openConnection()]
79. If the openConnection()…is returned[false]
80. Which method is used …textual format[getHostAddress()]
82. What is the well-know port of HTTP?[80]
83. A _____ is one end-point …the network.[socket]
85. A server must retrieve …with the client[true]
86. The _____ method …is established.[ accept()]
87. To create ServerSocket …to communicate[false]
88. Which exception can be …the connection[Exception]
89. Java programs use a _____ to connect to the network.[ Socket]
90. We can not serializable an object over TCP socket connection[true]
93. When a connection …which streams[both…]
94. _____ is a low-level …the destination.[ User Datagram Protocol]
95. The DatagramPacket does … remote host?[false]
96. Which statements are FALSE about data package?[ Multiple…]
98. Stub and Skeleton are always located on the same host[false]
99. _____ is used to transmit and receive data[stub…]
100. All the remote methods …_____[ java.rmi.RemoteException]
101. The _____ class of… remote objects.[ Naming Class]
103. Which tool is used to register a remote object?[rmic.exe]
*104. Which protocol is used in RMI connection[rmip]
*105. Which distributed …Java objects?[rmi]
107. RMI allow a Java …same version JVM[true]
108. Which RMI layer make invocation to remote methods[Remote…]
109. RMI does not allow you to serialize and transmit objects[false]
*110. The RMI API is part of the Java 2 Standard Editon (J2SE)[true]
111. A remote object is an instance …interface[false]
Bạn đang đọc truyện trên: AzTruyen.Top