While opening the file, what type of exceptions can be
caught?

Answer Posted / ranganathkini

The exceptions that can be caught while opening a file are:

1. FileNotFoundException
2. SecurityException

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can It is possible to synchronize the constructor of a Java Class?

592


What is the use of beaninfo?

588


Explain about main thread in java?

610


What about interthread communication and how it takes place in java?

543


what is server side caching?

1608






Why we do exception handling in java and how many types of exceptions are there?

547


If you do not want your class to be inherited by any other class. What would you do?

563


What is output buffer?

569


Can we increase array size dynamically in java?

513


Why is java so important?

649


Give some features of interface?

586


What is the collections api in java programming?

555


Can we have any other return type than void for main method?

538


Why does java doesnt suuport unsigned values?

1798


What is difference between filereader and bufferedreader?

531