Hi guys...
I have one doubt ..Exception is a runtime error then why
we have checked exception...
Thanks in advance

Answers were Sorted based on User's Feedback



Hi guys... I have one doubt ..Exception is a runtime error then why we have checked exception...

Answer / bhaskar.mantrala

u right.But if we take an exception like divide by
zero..and if this system executes this type of exception an
abnormal termination will occur and system budden will also
occur...so if we give an exception on or before execution
we can improve our system performance.....and this concept
does not support by c-lang and it can be supported by
c++,....

Is This Answer Correct ?    0 Yes 0 No

Hi guys... I have one doubt ..Exception is a runtime error then why we have checked exception...

Answer / ray

if we not give exception then the program will terminate
abruptly during run time but if exception is there then it
is caught and the program runs as usual .

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

Describe the following: (i) DNS (ii) Name Resolution (iii) Subnet Masking (iv) Urgent Pointer

1 Answers  


what will be the model paper for the post of assistant programmer in delhi high court

2 Answers  


what are the top level class of interface in java?

2 Answers   Satyam,


There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows ?No Department?. Write a query to find out those department names which has no employee. Write a query to find out those employees whose salary is greater than their department?s average salary.

1 Answers   Oracle,


what do u mean by tagging

0 Answers  






Hi I am Rathnam, How To Remove the duplicates with out using remove duplicate stage in the datastage

0 Answers   TCS,


Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.

0 Answers   Amazon,


could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?

0 Answers  


What parameters are used to run a JCL JOB on a perticular DAY and TIME and DATE

1 Answers  


What do you meant by Runtime Polymorphism?

2 Answers   Persistent,


can we extend a class having only one parameterised constructor.Suggest the process to do it.

0 Answers   Zensar,


Question:Why is mapping required? Computer 'Paging' & 'Segmentation'. Question:Give the disadvantages of Havander's Strategies. Question: What do you mean by Belady's Anomaly. - Describe with example. Question: Discuss the various function of OS. Question: Give a brief discussion on schedulers & Dispatchers with respect to process management.

0 Answers  


Categories