Question: AutoCloseable and Flushable are part of which package?

Options

A : Autocloseable java.lang; Flushable java.io

B : Autocloseable java.io; Flushable java.lang

C : Autocloseable and Flushable java.io

D : Autocloseable and Flushable java.lang

Click to view Correct Answer

Next

AutoCloseable, Closeable and Flushable Interfaces more questions

Which command can be used to check maven version?

Which maven plugin creates the project structure?

Which of the below is a child interface of Autocloseable?

Which of the below is a source code management tool?

Which of the following is not true for Ant?

Does close() implicitly flush() the stream.

How does applet and servlet communicate?

In CGI, process starts with each request and will initiate....

What does bind() method of ServerSocket offer?

What happens if ServerSocket is not able to listen on....

Annotations more Online Exam Quiz

Annotations

Application Lifecycle - Ant, Maven and Jenkins

Client and Server

Debugging in Eclipse

Design Patterns

Java Beans

JDBC