2 . Identify the correct answer :
3. Which of the following statement is false about Model-View-Controller architecture ?
4. Swing provides the.........class to create filters .
5. A...……………..is dockable only if the container it belongs to has a BorderLayout manager .
6. The ....... method is used to make the toolbar dockable .
7. The currency of a particular country can be displayed in ..………..class .
8. Instances of the ......class can be used to read from and to write to resource referenced by the URL.
9. An instance of the Socket class represents the.....side of the connection.
10. Which of the following are not the methods of JApplet class ?
11 . Which of the following features are true regarding lightweight components ?
12 . Which of the following methods are supported by JPopupMenu class ?
13. Which of the following statements are true about Properties Files ?
14. Which of these components reside on the server side of an RMI application ?
15 . ......... constructor creates a horizontal slider bar with the range 0 to 100 and an initial value of 50 ?
16. The parent of a dialog box is typically the............
17. A JFrame and a JApplet has a .... layout by default.
18. The method………… invokes the getPreferredSize() method of the frame to determine the best size for laying out the components .
19. A ....... is a component which displays its data in a hierarchical way .
20. The URL string is made up of the ........and .........parts .
21. The constructions of the URL class throw a ....……. if no protocol is specified .
22. ....... method of the URL class returns the IP address enclosed in square brackets.
23. A ServerSocket instance binds itself to a ....... and then waits and listens for client requests to establish connections .
24. Arrange the steps to use the MessageFormat class in the correct sequence .
25. Which of the following statements are true about Swing ?
26. Which of the following constructors can be used to create a FlowLayout Manager .
27. A......... component allows only the characters specified in the mask pattern to be entered .
28. A ..........is similar to a JMenuItem with the additional feature and deselecting them .
29 . The JColorChooser has a method ........ which returns an object of the ColorSelectionModel Interface .
30. Arrange the steps to create a message using the MimeMessage object in the correct order
31. Which of the following are the methods of JScrollPane class ?
32. The _____ package has a class Color to create objects representing colours and their shades.
33. Whenever you select an item from the combobox the _____ method of ItemListener is invoked .
34. ......…… provides a unique number for every character irrespective of platform,program or language .
35. java.util.Locale class object represents a specific geographical ,political, cultural region.Which of the following are valid constructor for the Locale
36. Which of the following protocols is not used for sending and receiving email ?
37. ....... is a Java program which runs as part of a web pages
38. The....... ..class is used to convert sentences from one locale to another without introducing grammatical errors .
39. An instance of the ServerSocket class is used to represent the....... side of the two-way communication
40. Identify the correct statements with JList ?
Download Answer - Đáp Án DCJ