GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 402 of 496    Print  
What is the difference between compile time error and run time error?

  
Total Answers and Comments: 4 Last Update: February 14, 2008     Asked by: vrijesh28 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: sampra
 
Compile time errors are nothing but the syntax errors in the program i.e., the program should follow the structure of java

where as Runtime errors are nothing but the logicall errors,

Compile time errors are taken care by compiler where as Run time errors are taken care by programers.


Above answer was rated as good by the following members:
raghavleo
September 07, 2007 03:50:29   #1  
kranthi        

RE: What is the difference between compile time error ...
Compile time errors are nothing but the syntax errors in the program i.e., the program should follow the structure of java

where as Runtime errors are nothing but the logicall errors,
 
Compile time errors are taken care by compiler where as Run time errors are taken care by programers.


 
Is this answer useful? Yes | No
February 14, 2008 03:53:19   #2  
sampra Member Since: February 2008   Contribution: 279    

RE: What is the difference between compile time error and run time error?
Compile time errors are nothing but the syntax errors in the program i.e., the program should follow the structure of java

where as Runtime errors are nothing but the logicall errors,

Compile time errors are taken care by compiler where as Run time errors are taken care by programers.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
February 14, 2008 11:28:11   #3  
salembalan Member Since: February 2008   Contribution: 6    

RE: What is the difference between compile time error and run time error?
The output of compile time error is errors
there wont be output in runtime erro

eg required : int
     found : byte
    is compile time error

0/2 is runtime error

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
February 14, 2008 23:16:50   #4  
sampra Member Since: February 2008   Contribution: 279    

RE: What is the difference between compile time error and run time error?
Yes this is compile time error  
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape