InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of these values is returned by read() method is end of file (EOF) is encountered? |
|
Answer» Which of these values is returned by read() method is END of file (EOF) is ENCOUNTERED? |
|
| 2. |
Which of these methods are used to read in from file? |
|
Answer» Which of these methods are USED to READ in from file? |
|
| 3. |
Which of these is used to perform all input & output operations in Java? |
|
Answer» Which of these is used to perform all input & output operations in Java? |
|
| 4. |
Which of these exception is thrown in cases when the file specified for writing is not found? |
|
Answer» Which of these exception is thrown in cases when the file SPECIFIED for WRITING is not found? |
|
| 5. |
Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program? |
|
Answer» Which of these modifiers can be used for a variable so that it can be accessed from any THREAD or parts of a PROGRAM? |
|
| 6. |
Which of these class contains the methods used to write in a file? |
|
Answer» Which of these class contains the methods used to write in a file? |
|
| 7. |
Which exception is thrown by read() method? |
|
Answer» Which EXCEPTION is THROWN by read() method? |
|
| 8. |
Which of these classes are used by Byte streams for input and output operation? |
|
Answer» Which of these classes are used by Byte streams for input and output operation? |
|
| 9. |
What does AWT stands for? |
|
Answer» What does AWT STANDS for? |
|
| 10. |
Which of these class is used to read characters and strings in Java from console? |
|
Answer» Which of these class is used to read characters and STRINGS in Java from console? |
|
| 11. |
Which of these methods can be used to output a string in an applet? |
|
Answer» Which of these methods can be used to output a STRING in an APPLET? |
|
| 12. |
Which of these classes are used by character streams for input and output operations? |
|
Answer» Which of these classes are USED by CHARACTER streams for input and output operations? |
|
| 13. |
Which of these methods is a part of Abstract Window Toolkit (AWT)? |
|
Answer» Which of these methods is a part of Abstract WINDOW Toolkit (AWT)? |
|