• Post Reply Bookmark Topic Watch Topic
  • New Topic

Runtime or Compile time?  RSS feed

 
shivang sarawagi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we get to know that the error generated in any java code is compile time or runtime ?? Is there any rule for it ??
 
Nam Ha
Ranch Hand
Posts: 50
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shivang sarawagi wrote:How do we get to know that the error generated in any java code is compile time or runtime ?? Is there any rule for it ??


- compile time errors generated by the compiler, javac.
- runtime errors generated during execution of a program, by the JVM.
 
Campbell Ritchie
Marshal
Posts: 56546
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look through the Java™ Language Specification and it says "compile-time error" or similar passim.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!