CS506-Midterm
1 / 50
A ................defines the way and method of communication between two parties
2 / 50
CREATE, ALTER, DROP are _________ SQL statements.
3 / 50
The relationship between class and interface is called ________
4 / 50
An abstract class --------------- instantiated.
5 / 50
You can ---------to a network using sockets.
6 / 50
Border layout divides the area into _______ regions
7 / 50
If we remove static from main then program __________
8 / 50
What if the main method is declared as private?
9 / 50
If a super class method is protected then overriding method _________
10 / 50
A top level class may have only the following access modifier.
11 / 50
BorderLayout is the default layout manager for a JFrame content pane
12 / 50
BorderLayout is the default layout manager for a JFrame’s content pane
13 / 50
In Java an abstract class cannot be sub-classed
14 / 50
15 / 50
In Java garbage collection is done by_______________
16 / 50
In Java a final class must be sub-classed before it.
17 / 50
Java program code is compiled into form called
18 / 50
Which of the following exception belongs to a category of un-checked exception?
19 / 50
The collections API are defined in ______ package?
20 / 50
Which of the following is called ' pure abstract class ' ?
21 / 50
A collection can store..........
22 / 50
Event source can have --------- listeners registered on it.
23 / 50
The code below draws a line. What color is the line? g.setColor(Color.red.green.yellow.red); g.drawLine(0, 0, 100,100);
24 / 50
Which of the following is a general purpose container?
25 / 50
Aside from the Scanner class, which of the following classes can be used for text-file file input?
26 / 50
Which of the following belongs to a category of checked exception?
27 / 50
Which of the following statement object is used to execute stored procedures?
28 / 50
29 / 50
HahMap takes key as a/an _________
30 / 50
Exceptions must be handled while handling files otherwise it may lead to____?
31 / 50
Aside from the Scanner class, which of the following class/es can be used for text file file input
32 / 50
33 / 50
Given a one dimensional array arr, what is the correct way of getting the number of elements in arr
34 / 50
Which of the following function will be used to register event handler with events generator (button)?
35 / 50
A top level class without any modifier is accessible to
36 / 50
Which of the following stream is a filter stream?
37 / 50
JavaBeans are?
38 / 50
Socket is a --------------communication channel between hosts.
39 / 50
____________is/are the JSP Implicit Object(s).
40 / 50
Which of the following feature provide facility for multiple inheritances:-
41 / 50
42 / 50
A serializable class must implement the method(s) _________.
43 / 50
44 / 50
Based on functionality, the streams can be categorized as________
45 / 50
An abstract class ---------------instantiated.
46 / 50
To create DataBaseMetaData object we write following line of code
47 / 50
There are _________ types of exceptions in Java
48 / 50
The classes which contain the word _____ are byte oriented streams.
49 / 50
50 / 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).
Your score is
The average score is 32%
Restart quiz