While opening the file, what type of exceptions can be
caught?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
The exceptions that can be caught while opening a file are:
1. FileNotFoundException
2. SecurityException
| Is This Answer Correct ? | 2 Yes | 0 No |
how to call a method in different package?
What is private static class in java?
What is difference between fail-fast and fail-safe?
What is the difference between double and float variables in java?
What is json parser in java?
What are thread local variables?
Can a source file contain more than one class declaration?
can we access the method of class without creating the object of the class
What are streams?
how to create constants in java?
What is a nested class?
How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?