aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Programming Fundamentals
  • Which of the following is a deprecated way to read input ...
Multiple choice

Which of the following is a deprecated way to read input from standard input?

  1. Using scanner

  2. Using DataInputStream

  3. Using BufferedReader

  4. All of the above

  5. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This method raises deprecation warning.

Keep practicing — related questions

  • Which of the following stream classes is an input stream that contains methods for reading the java standar...
  • Which method(s) of buffered reader class is/are used to read string from the keyboard?
  • Which method of the BufferedReader class is used to read the characters from the console in java?
  • Which of the following methods of DataInputStream class is used to read a unicode character?
  • Which of the following ByteStream classes contains methods for reading Java standard data types?
  • Which of the following is not the method of the scanner class object in Java?
  • Which of the following is not the method of the scanner class object in java?
  • To read from file, we can use a version of read () that is defined in the class. Name it.
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy