Question
a.
get()
b.
getLine()
c.
read()
d.
readLine()
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of these is used to read a string from the input stream?
Similar Questions
Discover Related MCQs
Q. Which of these class is used to read characters and strings in Java from console?
View solution
Q. Which of these class is implemented by FilterInputStream class?
View solution
Q. Which of these class contains the methods print() & println()?
View solution
Q. Which of these methods can be used to writing console output?
View solution
Q. Which of these classes are used by character streams output operations?
View solution
Q. Which of these class is used to read from a file?
View solution
Q. Which of these class contains the methods used to write in a file?
View solution
Q. Which of these exception is thrown in cases when the file specified for writing is not found?
View solution
Q. Which of these methods are used to read in from file?
View solution
Q. Which of these values is returned by read() method is end of file (EOF) is encountered?
View solution
Q. Which of these exception is thrown by close() and read() methods?
View solution
Q. Which of these methods is used to write() into a file?
View solution
Q. Which of these functions is called to display the output of an applet?
View solution
Q. Which of these methods can be used to output a string in an applet?
View solution
Q. Which of these methods is a part of Abstract Window Toolkit (AWT) ?
View solution
Q. Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?
View solution
Q. Which of these operators can be used to get run time information about an object?
View solution
Q. An applet is a Java class that extends the
View solution
Q. Applets are designed to be embedded within an __________.
View solution
Q. Which of the following is required to view an applet?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!