Explain about throw keyword?
Answer Posted / mandeswara rao
Before catching an exception it is must to be thrown first.
This means that there should be a code somewhere in the
program that could catch the exception. We use throw
statement to throw an exception or simply use the throw
keyword with an object reference to throw an exception. A
single argument is required by the throw statement i.e. a
throwable object.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is the use of functional interface?
What is the difference between new and override in c#?
What is c-sharp (c#)?
What are methods in C#?
What are the ways in which client can create object on server in cao model?
What do u mean by delegation of authority?
Explain the process of abstraction with an example?
What is the default value of string in c#?
Does the variables of a private class-level inherited?
What is private variable?
How do I automate my desktop application?
Is string null or empty?
What are the 2 broad classifications of fields in c#?
Which one is trusted and which one is untrusted?
What is the purpose of a namespace?