What is an Exception ?

Answer Posted / priyanka verma

exception are run time error which a programmer usually do not except, they occur accidently which may result in abnormal termination of the program.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I compare two strings in word in java?

760


What are the new features in java 8?

816


What are the difference between composition and inheritance in java?

757


Distinguish between a predicate and a function?

785


Explain the importance of finalize() method.

768


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

818


What is the final blank variable?

836


Is java hard to learn?

705


What is the meaning of I ++ in java?

865


Can we convert stringbuilder to string in java?

773


What is formatted output?

743


worst case complexities of Quick sort and Merge sort.

812


Which command from the jdk compiles a java program?

699


What is the method to expand and collapse nodes in a jtree?

824


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

2088