Search This Blog

Showing posts with label Java IO. Show all posts
Showing posts with label Java IO. Show all posts

Thursday, October 2, 2025

Java Closeable Interface

 Which of the following is the super interface of Closeable?

a) Close

b) AutoClose

c) AutoCloseable

d) Channel


Created by Nancy K.A.N.

@17:09 02-Oct-2025

Saturday, September 27, 2025

Java IO - Externalizable

 An Externalizable interface extends Serializable. Which of the following methods does an Externalizable interface add?

a) WriteData

b) WriteObject

c) WriteExternal

d) ReadData

e) ReadObject

f) ReadExternal


Created by Nancy K.A.N.

@00:44 28-Sept-2025

Wednesday, September 24, 2025

Java IO - Serializable

 Which of the following is not a method of a Serializable interface?

a) write()

b) serialize()

c) convertToBytes()

d) none (It has no methods)


Created by Nancy K.A.N.

@12:17 24-Sept-2025

Wednesday, September 10, 2025

Java IO - 3

 Which of the following interfaces does the InputStream class implement?

a) Serializable

b) SeekableByteChannel

c) Closeable

d) Flushable


Created by Nancy K.A.N.

@12:36 10-Sept-2025