CS506-Midterm
1 / 50
Map interface is derived from the Collection interface.
2 / 50
In Java an abstract class cannot be sub-classed
3 / 50
A ................defines the way and method of communication between two parties
4 / 50
Which of the following is true about abstract class?
5 / 50
Which of the following package needs to be import while handling files?
6 / 50
Which of the following methods are invoked by the AWT to support paint and repaint operations?
7 / 50
Which of the following exception belongs to a category of un-checked exception?
8 / 50
Which of following can be thrown using the throw statement?
9 / 50
Which of the following stream is a filter stream?
10 / 50
Which of the following function will be used to register event handler with events generator (button)?
11 / 50
The relationship between class and interface is called ________
12 / 50
Which of the following is called ' pure abstract class ' ?
13 / 50
14 / 50
In Java garbage collection is done by_______________
15 / 50
You can ---------to a network using sockets.
16 / 50
If we remove String array from main then program____________
17 / 50
An expression tag contains a scripting language expression that is evaluated.
18 / 50
Border layout divides the area into _______ regions
19 / 50
Which of these are valid declarations for the main method?
20 / 50
HahMap takes key as a/an _________
21 / 50
BorderLayout is the default layout manager for a JFrame content pane
22 / 50
Which of the following statements is true regarding Vectors with no specified base type?
23 / 50
Which of the following stream read/write data in the form of bytes?
24 / 50
Mouse events can be trapped for ________ GUI component.
25 / 50
Window frame and dialog use ________ as their default layout.
26 / 50
Which of the following is a general purpose container?
27 / 50
Exceptions must be handled while handling files otherwise it may lead to _____
28 / 50
When defining a method you must include a ___________ to declare any exception that might be thrown but is not caught in the method.
29 / 50
DSN stands for _________
30 / 50
____________is/are the JSP Implicit Object(s).
31 / 50
32 / 50
Window Listener interface contains _______ methods.
33 / 50
The collections API are defined in ______ package?
34 / 50
Exceptions must be handled while handling files otherwise it may lead to____?
35 / 50
36 / 50
BorderLayout is the default layout manager for a JFrame’s content pane
37 / 50
Which of the following package needs to import while interacting with relational database?
38 / 50
An abstract class --------------- instantiated.
39 / 50
40 / 50
To create DataBaseMetaData object we write following line of code
41 / 50
42 / 50
Overloading is _______ whereas overriding is _____
43 / 50
Which of the following syntax is used to attach an input stream to console?
44 / 50
CREATE, ALTER, DROP are _________ SQL statements.
45 / 50
The classes which contain the word _____ are byte oriented streams.
46 / 50
47 / 50
A top level class may have only the following access modifier.
48 / 50
49 / 50
50 / 50
Your score is
The average score is 32%
Restart quiz