CS506-Midterm
1 / 50
A collection can store..........
2 / 50
HahMap takes key as a/an _________
3 / 50
DSN stands for _________
4 / 50
5 / 50
Which of the following stream is a filter stream?
6 / 50
Event source can have --------- listeners registered on it.
7 / 50
In Java an abstract class cannot be sub-classed
8 / 50
Socket is a --------------communication channel between hosts.
9 / 50
____________is/are the JSP Implicit Object(s).
10 / 50
A serializable class must implement the method(s)............
11 / 50
The relationship between class and interface is called ________
12 / 50
13 / 50
A top level class may have only the following access modifier.
14 / 50
Which of the following is called ' pure abstract class ' ?
15 / 50
A serializable class must implement the method(s) _________.
16 / 50
To create DataBaseMetaData object we write following line of code
17 / 50
Which of the following method is used to execute SELECT SQL statements?
18 / 50
In Java a final class must be sub-classed before it.
19 / 50
In Java, which of these classes implement the LayoutManager interface?
20 / 50
21 / 50
Which of the following is a general purpose container?
22 / 50
Which of the following method is used to execute INSERT, UPDATE and Delete SQL statements?
23 / 50
Which of the following package needs to import while interacting with relational database?
24 / 50
An expression tag contains a scripting language expression that is evaluated.
25 / 50
If we remove String array from main then program____________
26 / 50
Which of the following methods are invoked by the AWT to support paint and repaint operations?
27 / 50
Which of the following exception belongs to a category of un-checked exception?
28 / 50
An abstract class --------------- instantiated.
29 / 50
30 / 50
Java program code is compiled into form called
31 / 50
Java developed in __________
32 / 50
33 / 50
Window frame and dialog use ________ as their default layout.
34 / 50
Exceptions must be handled while handling files otherwise it may lead to _____
35 / 50
36 / 50
Overloading is _______ whereas overriding is _____
37 / 50
Window Listener interface contains _______ methods.
38 / 50
If we remove static from main then program __________
39 / 50
Map interface is derived from the Collection interface.
40 / 50
BorderLayout is the default layout manager for a JFrame’s content pane
41 / 50
What if the main method is declared as private?
42 / 50
Which of the following stream read/write data in the form of bytes?
43 / 50
You can ---------to a network using sockets.
44 / 50
45 / 50
Which of the following is used for inheritance in java?
46 / 50
CREATE, ALTER, DROP are _________ SQL statements.
47 / 50
48 / 50
Which of the following statement object is used to execute stored procedures?
49 / 50
Aside from the Scanner class, which of the following classes can be used for text-file file input?
50 / 50
Which of these are valid declarations for the main method?
Your score is
The average score is 32%
Restart quiz