CS506 Midterm Online Quiz

0%

CS506-Midterm

1 / 50

An abstract class --------------- instantiated.

2 / 50

JavaBeans are?

3 / 50

If a super class method is protected then overriding method _________

4 / 50

CREATE, ALTER, DROP are _________ SQL statements.

5 / 50

If we remove static from main then program __________

6 / 50

Which of the following is a general purpose container?

7 / 50

In Java a final class must be sub-classed before it.

8 / 50

The collections API are defined in ______ package?

9 / 50

Which of the following stream is a filter stream?

10 / 50

Socket is a --------------communication channel between hosts.

11 / 50

If a super class method is protected then overriding method _________

12 / 50

A top level class may have only the following access modifier.

13 / 50

Which of these are valid declarations for the main method?

14 / 50

____________is/are the JSP Implicit Object(s).

15 / 50

A top level class without any modifier is accessible to

16 / 50

Border layout divides the area into _______ regions

17 / 50

Java program code is compiled into form called

18 / 50

Which of the following belongs to a category of checked exception?

19 / 50

In Java an abstract class cannot be sub-classed

20 / 50

In Java, which of these classes implement the LayoutManager interface?

21 / 50

Which of the following are passed as an argument to the paint () method:

22 / 50

What if the main method is declared as private?

23 / 50

Which of the following stream read/write data in the form of bytes?

24 / 50

Which of the following stream is a filter stream?

25 / 50

A top level class without any modifier is accessible to

26 / 50

An expression tag contains a scripting language expression that is evaluated.

27 / 50

____________is/are the JSP Implicit Object(s).

28 / 50

Which of the following statements is true regarding Vectors with no specified base type?

29 / 50

You can ---------to a network using sockets.

30 / 50

A collection can store..........

31 / 50

Which of the following feature provide facility for multiple inheritances:-

32 / 50

Which of the following syntax is used to attach an input stream to console?

33 / 50

Overloading is _______ whereas overriding is _____

34 / 50

Which of the following is used for inheritance in java?

35 / 50

A serializable class must implement the method(s)............

36 / 50

What if the main method is declared as private?

37 / 50

Which of the following is true about abstract class?

38 / 50

Static methods only access ___

39 / 50

To create DataBaseMetaData object we write following line of code

40 / 50

What if the static modifier is removed from the signature of the main method?

41 / 50

A top level class may have only the following access modifier.

42 / 50

Which of the following statement object is used to execute stored procedures?

43 / 50

Which of the following package needs to be import while handling files?

44 / 50

If we remove String array from main then program____________

45 / 50

Mouse events can be trapped for ________ GUI component.

46 / 50

Which of the following is called ' pure abstract class ' ?

47 / 50

A ___________ defines the way and method of communication between two parties.

48 / 50

Which of the following function will be used to register event handler with events generator (button)?

49 / 50

In Java an abstract class cannot be sub-classed

50 / 50

The relationship between class and interface is called ________

Your score is

The average score is 32%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi