CS506-Midterm
1 / 50
Which of the following feature provide facility for multiple inheritances:-
2 / 50
Which of the following is called ' pure abstract class ' ?
3 / 50
4 / 50
Which of the following statement object is used to execute stored procedures?
5 / 50
Which of the following stream is a filter stream?
6 / 50
Map interface is derived from the Collection interface.
7 / 50
To create DataBaseMetaData object we write following line of code
8 / 50
A collection can store..........
9 / 50
JPanel and Applet use ________ as their default layout.
10 / 50
Exceptions must be handled while handling files otherwise it may lead to____?
11 / 50
DSN stands for _________
12 / 50
Which of the following is a general purpose container?
13 / 50
An abstract class --------------- instantiated.
14 / 50
You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?
15 / 50
A top level class without any modifier is accessible to
16 / 50
A serializable class must implement the method(s)............
17 / 50
Event source can have --------- listeners registered on it.
18 / 50
Which of the following function will be used to register event handler with events generator (button)?
19 / 50
Aside from the Scanner class, which of the following class/es can be used for text file file input
20 / 50
If we remove String array from main then program____________
21 / 50
____________is/are the JSP Implicit Object(s).
22 / 50
In Java an abstract class cannot be sub-classed
23 / 50
Which of the following is used for inheritance in java?
24 / 50
Which of the following stream read/write data in the form of bytes?
25 / 50
Based on functionality, the streams can be categorized as________
26 / 50
Which of the following method is used to execute INSERT, UPDATE and Delete SQL statements?
27 / 50
What if the static modifier is removed from the signature of the main method?
28 / 50
Which of the following belongs to a category of checked exception?
29 / 50
Overloading is _______ whereas overriding is _____
30 / 50
A top level class may have only the following access modifier.
31 / 50
If we remove static from main then program __________
32 / 50
Which of the following package needs to import while interacting with relational database?
33 / 50
When recursive method is called to solve a problem, the method actually is capable of solving only the simpler case(s), or base case(s).
34 / 50
Which of the following is true about AWT and SWING components?
35 / 50
The relationship between class and interface is called ________
36 / 50
Socket is a --------------communication channel between hosts.
37 / 50
38 / 50
Which of the following method is used to execute SELECT SQL statements?
39 / 50
HahMap takes key as a/an _________
40 / 50
A final class can't be extended.
41 / 50
CREATE, ALTER, DROP are _________ SQL statements.
42 / 50
Which of the following is true about abstract class?
43 / 50
44 / 50
When defining a method you must include a ___________ to declare any exception that might be thrown but is not caught in the method.
45 / 50
JavaBeans are?
46 / 50
Which of the following package needs to be import while handling files?
47 / 50
A serializable class must implement the method(s) _________.
48 / 50
49 / 50
In Java garbage collection is done by_______________
50 / 50
In Java a final class must be sub-classed before it.
Your score is
The average score is 32%
Restart quiz