aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Advanced Java
  • Which of the following methods of Process class in Java r...
Multiple choice

Which of the following methods of Process class in Java returns an input stream that reads input from the process out?

  1. destroy()

  2. getInputStream()

  3. getErrorStream()

  4. getOutputStream()

  5. exitValue()

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

This method of Process class in Java returns an input stream that reads input from the process out.

Keep practicing — related questions

  • The ____________ method of Process class is used to return an output stream that writes output to the 'in' ...
  • Which of the following methods of InputStream class returns the number of bytes that are available for read...
  • Which of the following stream classes is an input stream that contains methods for reading the java standar...
  • Which of the following stream classes in Java is an input stream that reads data from a file?
  • Which of the following methods in OutputStream class finalizes the output state so that the buffers are cle...
  • Which of the following methods is/are defined in InputStream class of Bytes Stream?
  • Which of the following methods are defined in InputStream class of Bytes Stream?
  • Which of the following methods is/are defined in InputStream class of Bytes Stream?
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