Explain about throw keyword?
Answer Posted / sabarish
in java , throw keyword is used to throw an exception which
cannot be trapped.
Is This Answer Correct ? | 19 Yes | 16 No |
Post New Answer View All Answers
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
What are namespaces, and how they are used?
Is Multiple-inheritance supported by c#?
Why do we use struct in c#?
What is lambda expression in c#?
Can we inherit a private class in c#?
Differentiate between method overriding from method overloading with its functionality?
What are fields in c#?
What are generic types?
What is the difference between array and arraylist in c#?
Describe an interface class?
What is transparent caching with aop ?
Distinguish between the Debug class and Trace class with its functionality?
What is int tryparse in c#?
How can an inner class access the members of outer class?