×
Login Or SignUp
Privacy Policy
Terms Of Service
freetests4u.com
Online Knowledge Sharing Platform
Login/SignUp
freetests4u.com
Blogs
Mock Tests
Videos
Jobs
21 .
Which of these classes provide implementation of map interface?
A.
ArrayList
B.
HashMap
C.
LinkedList
D.
DynamicList
View Answer
Ans: HashMap
22 .
Which of these class extends inputStream class?
A.
ObjectStream
B.
ObjectInputStream
C.
ObjectOutput
D.
ObjectInput
View Answer
Ans: 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 Answer
Ans: 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 Answer
Ans: 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 Answer
Ans: flush()
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17