You are on page 1of 2

Answer Sheets

1).1 2).4 3).3 4).1 5).4 6).1 7).3


8).1 9).2 10).3 11).3 12).2 13).1
14).2 15)3 16).1 17).4 18).4 19).A
20).2 21).4 22).4 23).4 25).1 26).4
27).c 28).b 29).b 30).d 31).c 32).d
33).d 34).b
Ans 35. Yes. You can have any number of main() methods with different method
signature and implementation in the class.
Ans 36 The various methods provided by the Dataset object to generate XML are:
ReadXml() - Reads XML document into a Dataset object.
GetXml() - Returns a string containing an XML document.
WriteXml() - Writes an XML data to disk.
Ans 37. The DataRelation object is used to add relationship between two DataTable
objects.
Ans 38. The Panel and Applet classes use the FlowLayout as their default layout.
Ans 39 When a task invokes its yield() method, it returns to the ready state. When
a task invokes
its sleep()method, it returns to the waiting state.
Ans 40. The base class for all the DataReader objects is the DbDataReader class.
Ans 41. All AWT event listeners extend the java.util.EventListener interface.
Ans 42. A dead thread cannot be restarted.
Ans.43 The read() method returns -1 when it has reached the end of a file
Ans.44 Panel.
Ans.45 The Dictionary generic class provides a mapping from a set of keys to a set of

values. Each addition to the dictionary consists of a value and its associated key.

You might also like