21 .
Which of these classes provide implementation of map interface?
A.ArrayList
B. HashMap
C. LinkedList
D. DynamicList
View AnswerAns: HashMap
22 .
Which of these class extends inputStream class?
A.ObjectStream
B. ObjectInputStream
C. ObjectOutput
D.ObjectInput
View AnswerAns: ObjectInputStream
23 .
Which of the following is not true about serialization?
A. If we want to convert state of object to binary data it is known as serialization
B. For serialization we should implement seralizable interface to class of object to serialize
C. If serializable is not implemented JVM gives NonSerializableException
D. All of the above are true
View AnswerAns: If serializable is not implemented JVM gives NonSerializableException
24 .
Which of these stream contains the classes which can work on character stream?
A.InputStream
B. OutputStream
C. CharacterStream
D.All of these
View AnswerAns: CharacterStream
25 .
Which of the follow. method to clear all the data present in output buffers only?
A.clear()
B. flush()
C. flushall()
D.None
View AnswerAns: flush()