Search This Blog

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

Tuesday, October 14, 2025

Java Closeable Interface methods

 Which of the following is a method of a Closeable interface?

a) void close (ByteStream ob)

b) void close (CharacterStream ob)

c) void close (FileStream file)

d) int close()

e) void close()


Created by Nancy K.A.N.

@00:36 15-Oct-2025

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

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