Home » JAVA Programming » Interfaces » Question
  1. AutoCloseable and Flushable are part of which package?
    1. Autocloseable and Flushable java.lang
    2. Autocloseable and Flushable java.io
    3. Autocloseable java.lang; Flushable java.io
    4. Autocloseable java.io; Flushable java.lang
    5. None of these
Correct Option: C

Autocloseable is a part of java.lang; Flushable is a part of java.io.



Your comments will be displayed only after manual approval.