what is runtime exception and compiletime exception ?



what is runtime exception and compiletime exception ? ..

Answer / ahmed eldesokey

runtime exception is the one appeares when the program do
wrong behaviour durring running
example :
if you entered a string value in an int member ;
this cause a runtime

compilation error :

any thing wrong in the code it self before running the program
example :
if you miss a simecolon ( ; )
if you try to print an unassigned value any thing like that

Is This Answer Correct ?    12 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

Find out the list of authorization objects which contains activity as a field? Thanks in advance.

0 Answers  


How can recruiter justified that the candidate is expert in Algorithm and datastructure for Software product development ?

0 Answers  


For C sharp,At the time of software is implemented at client site, is it required that client machine have C sharp(Microsoft Visual Basic) setup?

1 Answers   Honeywell,


what is the extension of SPDS Dynamic cluster tables?

0 Answers   IBM,


what is delegate and how works delegate and event.

0 Answers   NIIT,






Is buffer size and file block size is similar? If similar,at which case it will be same size?

0 Answers  


Who is the Best SAS/Clinical Trainer in Hyderabad

1 Answers  


i want to open a helkp file that is txt file on link buttons click

1 Answers  


What is WEB 3.0? What are the features their in WEB3.0

0 Answers  


Hi friends :) This Company Aptitude Questions were much easy. i have attended the interview but was not selected in the HR round. they used to ask questions like puzzles, English, fill up the sentence. for example : they asked one question like suraj, kumar, santhosh, ranga and ashwin are professionals in different fields. suraj is a doctor. kumar is not a musician.ranga is working as engineer. ashwin is from goa. santhosh is from chennai. suraj and ranga are not from delhi. find out who is working in which field and where are they from? it was not the exact question. i answered that question with correct answer. just thorough with SQL queries. they are much interested in that. i cleared Technical round where they asked me to write a C code for checking, if the given word is palindrome or not. also they asked 2 puzzle question to solve in front of them. then the asked SQL query for referring two tables. then, they sent me for HR round. i got little nervous in that round. so, could not answer them properly. In Hr round, they may ask Technical Questions. i was asked only Technical Questions in HR round. they asked questions from SQL queries and my project. i could not answer for the questions perfectly. so, i was not selected. anyway, try to be thorough with these info and rock in your interview. Thanks :)

0 Answers   Hewitt,


This is a puzzle question .... The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another. "In the prison is a switch room, which contains two light switches labeled A and B, each of which can be in either the 'on' or the 'off' position. I am not telling you their present positions. The switches are not connected to anything. "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must move one, but only one of the switches. He can't move both but he can't move none either. Then he'll be led back to his cell. "No one else will enter the switch room until I lead the next prisoner there, and he'll be instructed to do the same thing. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. "But, given enough time, everyone will eventually visit the switch room as many times as everyone else. At any time anyone of you may declare to me, 'We have all visited the switch room.' and be 100% sure. "If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will be fed to the alligators." What is the strategy they come up with so that they can be free?

6 Answers  


My Qualification is MCA.My interview is on 5th may.They may ask q as------AS u r MCA...Why u r not tring anywhere else? What can be the ans?

0 Answers   State Bank Of India SBI,


Categories