
JAVA I/O
Authored by Usama Rahman
Computers
University
Used 148+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these method of FileReader class is used to read characters from a file?
read()
scanf()
get()
getInteger()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these packages contain classes and interfaces used for input & output operations of a program?
java.util
java.lang
java.io
all of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class is not a member class of java.io package?
String
StringReader
Writer
File
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class is not related to input and output stream in terms of functioning?
File
Write
InputStream
Reader
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which stream used to read data from a source, it may be a file, an array, peripheral device or socket?
InputStream
OutputStream
Input/OutputStream
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is used for writing data to a file in file handling?
FileInputStream
FileOutputStream
Both A & B
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public char[] readPassword() blongs to whcih class
Scanner Class
Console class
InputStreamReader class
DataInputStream
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?