Podcast
Questions and Answers
Which package in Java contains classes for performing input and output (I/O)?
Which package in Java contains classes for performing input and output (I/O)?
- java.util package
- java.lang package
- java.io package (correct)
- java.net package
Which class from the java.io package allows us to work with files in Java?
Which class from the java.io package allows us to work with files in Java?
- File (correct)
- Reader
- OutputStream
- InputStream
Which type of stream is used to read data from a source in Java?
Which type of stream is used to read data from a source in Java?
- OutStream
- CharacterStream
- InputStream (correct)
- ByteStream
What is the purpose of the Reader class in Java?
What is the purpose of the Reader class in Java?
What can be defined as a sequence of data in Java?
What can be defined as a sequence of data in Java?
Flashcards are hidden until you start studying