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 do you declare an infinite loop?
How does compareto method work?
What are methods and how are they defined?
How are Java source code files named?
Which eclipse is best for java?
What are 3 data types?
What is math in java?
What is meant by attribute?
Explain the differences between public, private, protected and static?
What is the use of bin and lib in JDK?
. Define Copy Constructor in Java
Can we restart a thread already started in java?