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 |
What data types does the rangevalidator control support?
What are scripting objects in asp?
How to insert the records in a database table by using asp?
Define global.asa file?
Hii if you not select open item Management in GL Creation. What is the impact in transaction
What inheritance is and an example of when you might use it?
What is a Dictionary object?
what is object in c sharp?
How will u make automatic login program in asp as u see in yahoo messanger? When any body login to their system they no need to fill userid and password. It automatically fills the userid and password.
Define request object?
How do I open an asp file on a mac?
What is active server object model?