Home / MCQ Bank / Computer
Computer Interfaces And Abstract Classes

How to read a classpath file?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • InputStream in = this.getClass().getResourceAsStream("SomeTextFile.txt")

Related Computer Questions

The PowerPoint view that displays only text (title and bullets) is_____________? What is the purpose of the write() method in file handling? Which function extracts the name of the month from a date/time value? Bit map terminal Which of the following protocols is used for WWW?