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
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
Where JVM stores the string literals?
a) Stack memory
b) Special area on the stack
c) String constant pool
d) none of the above
Created by Nancy K.A.N.
@13:32 06-Oct-2025
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