adplus-dvertising
frame-decoration

Question

Which of these is method of ObjectOutput interface used to write the object to input or output stream as required?

a.

write()

b.

Write()

c.

StreamWrite()

d.

writeObject()

Posted under Java Programming

Answer: (d).writeObject()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these is method of ObjectOutput interface used to write the object to input or output stream as required?

Similar Questions

Discover Related MCQs

Q. How an object can become serializable?

Q. What is serialization?

Q. What is deserialization?

Q. How many methods Serializable has?

Q. What type of members are not serialized?

Q. If member does not implement serialization, which exception would be thrown?

Q. Default Serialization process cannot be overridden.

Q. Which of the following methods is used to avoid serialization of new class whose super class already implements Serialization?

Q. Which of the following methods is not used while Serialization and DeSerialization?

Q. Serializaed object can be transferred via network.

Q. Which of these is a process of extracting/removing the state of an object from a stream?

Q. Which of these process occur automatically by java run time system?

Q. Which of these interface extends DataInput interface?

Q. Which of these is a method of ObjectInput interface used to deserialize an object from a stream?

Q. Which of these class extend InputStream class?

Q. Which of these package contains classes and interfaces for networking?

Q. Which of these is a protocol for breaking and sending packets to an address across a network?

Q. How many bits are in a single IP address?

Q. Which of these is a full form of DNS?

Q. Which of these class is used to encapsulate IP address and DNS?