What is Exception ?
When is try, catch block used ?
Answer / shikha nirankari
exception is an unhandled situations about which we know
before that they can arrise. For example try to divide by 0
is an exception. For handling exceptions we use try n catch
blocks.
try block is used to guard the statements in which exceptin
can be arrised.
catch block is used to take an action when an exception is
caught in a try block.
both try n catch blocks are dependent on each other. the
exception arrised in try block n the action needed to take
on its arrising will be done through catch block.
| Is This Answer Correct ? | 10 Yes | 3 No |
Write a program in asp to find out the leap year. [Accept the year from the user ]
What is a Virtual Directory?
What is IIS?
what is differance b/w .net assemblies and com component?
how to do process steps fi -mm integration can u define anybody pls
Explain the difference between querystring collection and form collection?
what is diff c#and vb.net what is .net framework 3.5 what is webservice with expmles
What is difference between Physical path and Virtual path? Explanin with example.
How do you administer security for my machine for an enterprise?
Give the comment tags for the following?
What is aspx cs file?
What is a variable in asp?