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

in network security,how we identified threat?some one say we found threat according to it's signature,but how we get signature or pattern of the virus?

0 Answers  


What is web.configuration? how is it work? & wht is use this?

0 Answers  


What is the meaning of client-server application. The purpose of Client-Server Application. with description.

0 Answers  


Diff between Proc transpose and Arrays with example?

2 Answers   Accenture,


what is the difference between SCAN AND CHECK,LOKUP AND XFOOT? where we can use thease opcodes? Can any body tell me real time senariao with example?

0 Answers  






Can we write a method in JSP.If so how?

0 Answers   HCL,


iam confused to choose among testing, .net and java can anybody help me????????

0 Answers  


Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe

0 Answers  


Suppose i have all the implementation code required is written in doGet() but my class has doPost() method. i need code implemented in doGet() how can we do that?

1 Answers  


Tag for turning an image into a hyperlink is

0 Answers  


Is CTS company do serious backgroung check?

0 Answers   CTS,


why we use abstract word in abstract window toolkit in java language.

0 Answers   Infosys,


Categories