PCAP Exceptions and File I/O • 20 Questions
20 PCAP Exceptions and File I/O practice questions with answers and explanations. Free, no signup.
A developer writes a function that reads a configuration file and returns its contents as a string. The file might not exist. Which exception should be caught to handle a missing file?
Choose an answer to begin — your selection is scored in the full session.
20 questions · instant feedback and full explanations after every question.