CS506-Midterm
1 / 50
A top level class without any modifier is accessible to
2 / 50
Which of the following are passed as an argument to the paint () method:
3 / 50
Which of the following statement object is used to execute stored procedures?
4 / 50
Which of the following function will be used to register event handler with events generator (button)?
5 / 50
The relationship between class and interface is called ________
6 / 50
JavaBeans are?
7 / 50
Which of the following stream read/write data in the form of bytes?
8 / 50
Java program code is compiled into form called
9 / 50
You can ---------to a network using sockets.
10 / 50
HahMap takes key as a/an _________
11 / 50
Socket is a --------------communication channel between hosts.
12 / 50
In Java, which of these classes implement the LayoutManager interface?
13 / 50
____________is/are the JSP Implicit Object(s).
14 / 50
Which of the following statements is true regarding Vectors with no specified base type?
15 / 50
Which of the following package needs to import while interacting with relational database?
16 / 50
In Java an abstract class cannot be sub-classed
17 / 50
The classes which contain the word _____ are byte oriented streams.
18 / 50
Which of following can be thrown using the throw statement?
19 / 50
Aside from the Scanner class, which of the following class/es can be used for text file file input
20 / 50
CREATE, ALTER, DROP are _________ SQL statements.
21 / 50
A ___________ defines the way and method of communication between two parties.
22 / 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).
23 / 50
24 / 50
Which of the following is true about abstract class?
25 / 50
Which of the following is called ' pure abstract class ' ?
26 / 50
Overloading is _______ whereas overriding is _____
27 / 50
28 / 50
Event source can have --------- listeners registered on it.
29 / 50
30 / 50
If a super class method is protected then overriding method _________
31 / 50
DSN stands for _________
32 / 50
If we remove String array from main then program____________
33 / 50
Mouse events can be trapped for ________ GUI component.
34 / 50
Window frame and dialog use ________ as their default layout.
35 / 50
In Java a final class must be sub-classed before it.
36 / 50
Border layout divides the area into _______ regions
37 / 50
Which of the following stream is a filter stream?
38 / 50
Which of the following is used for inheritance in java?
39 / 50
Exceptions must be handled while handling files otherwise it may lead to____?
40 / 50
JPanel and Applet use ________ as their default layout.
41 / 50
When defining a method you must include a ___________ to declare any exception that might be thrown but is not caught in the method.
42 / 50
43 / 50
A final class can't be extended.
44 / 50
45 / 50
Map interface is derived from the Collection interface.
46 / 50
Which of these are valid declarations for the main method?
47 / 50
Which of the following is true about AWT and SWING components?
48 / 50
Which of the following package needs to be import while handling files?
49 / 50
50 / 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?
Your score is
The average score is 32%
Restart quiz