What is Exception ?
When is try, catch block used ?
Answer Posted / 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 |
Post New Answer View All Answers
In case of we are not saving the information as cookies. how server detects the same user?
What are the asp objects?
What is meant by cookies? Explain the main features?
What is the difference between a namespace and an assembly name?
where should i get free version of Test Director to download
Define a dictionary object?
What is server control
How many types of report in asp.net 2008?
What is the difference between asp and saas?
why did u choose tech support as ur careears
We have recently bought Hart 475 communicator , when we try to use it on transmitter it shows error : Voltage detected on FF connectors and later show No device found , can any one give me and idea about how to solve it.
What type of code is found in a code-behind class?
Define common language specification (cls)?
What are shared assemblies?
Explain the difference between inline and code behind.