answersLogoWhite

Top Answer
User Avatar
Wiki User
Answered 2008-06-16 08:55:16

Very simply, Java compile time is when Java is in the process of compiling source code, and run time is when Java is actually executing your program.

123
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Still Have Questions?

Related Questions

What's the difference between run time and compile time?

When you compile your project, you are in compile time. Runtime occurs when you execute the machine code generated by the linker (after compile time).


Difference between a java complier and the Java JIT?

A java compiler takes Java source code and turns it into Java bytecode, which can then be run by the java virtual machine.Using JIT means that the java code will be compiled and executed at the time that you run the program, which will slow down the program because it has to compile the code at the same time that it runs.


What is the difference between run-time error and compile error?

It is easy if you know what compile time is, and what run time is.


How compile time error arises in java?

'Compile time error' is when the compiler (javac) detects an error in your program.


Difference between run time error and compile time error in java?

Compile time error is any type of error that prevent a java program compile like a syntax error, a class not found, a bad file name for the defined class, a possible loss of precision when you are mixing different java data types and so on. A runtime error means an error which happens, while the program is running. To deal with this kind of errors java define Exceptions. Exceptions are objects represents an abnormal condition in the flow of the program. It can be either checked or unchecked.


What is compile time polymorphism in java?

Compile Time Polymorphism in Java is when you have the several methods with same name and different parameters and compiler has to decide how to select which method has to run based on the arguments hence the name Compile time polymorphism or method overloading.


What is the difference between static and dynamic polymorphism?

Static polymorphism:memory allocated at compile time is called as static allocation.java resolves calls to overloading methods at compile time is called as Static polymorphism.Dynamic polymorphism:memory allocated at run time is called as dynamic allocationjava resolves calls to overloading methods at run time is called as Dynamic polymorphism or Dynamic binding or Dynamic dispatch.This principle is used to create reference variable.


What is the difference between compile time and run time polymorphism?

Runtime prolymorphism means overriding compiletile polymorphism means overloading


Difference between runtime and compile time?

Compile time refers to when the compiler is turning source code into machine code. Runtime refers to when your process is actually executing. (Please don't advertise here.)


What is the difference between syntax and run time error?

Syntax errors occur at compile time whereas run time errors are logic errors.


What is the difference between design time run time and break time?

Assuming you are refering to software development: Design time - Prior to compile Run time - After compile, while program is running Break time - Pausing the execution of code during the debugging process


Tips how to avoid compile time errors in java?

The best tip to avoid compile time issues is to follow the coding guidelines and syntactical rules specified in the language. Every programming language has such guidelines mentioned while creating the language. If we follow them, then we will not get compile time errors.


What is the difference between Syntax Errors and Logic Errors?

Syntax errors occur at compile time. Logic errors occur at runtime.


What is the difference between enumeration and set of preprocessor define in c?

Enums are compile time substituted constants whereas #defines are preprocessing substituted time constants


What is dynamic binding in java?

Dynamic Binding means declaring variables at run time only rather than declaring it at compile time.


Difference between run time error and run time exception in java?

Runtime Error Cannot be Rectified but Runtime Exception can.


Difference between java compiler and java interpreter?

java compiler source code to convert Bytecodes with .class file create Interpreter translate to one line at a time to machine understanding code


What is dynamic method dispatch in java?

dynamic method dispatch is a technique by which a call to a overridden method is solved at runtime rather than compile time..this is how java implements runtime polymorphism.


What is the difference between exception and error in java?

Error: Any departure from the expected behavior of the system or program, which stops the working of the system is an error. Exception:Any error or problem which one can handle and continue to work normally. Note that in Java a compile time error is normally called an "error," while a runtime error is called an "exception." Errors don't have subclasses while exception has two subclasses, they are compile time exception or checked exception (ClassNotFound Exception, IOException, SQLException etc.) and runtime or unchecked exception(ArrayIndexOutOfBounds Exception, NumberFormat Exception).


What is java language in computer?

Java is a computer programming language. Java programs can be interpreted (the computer compiles and runs the program as the code is executed) or it can be pre-compiled into bytecode (the computer doesn't have to compile it as soon as it is run, so time is saved.)


Is overriding done at compile time or run time?

compile time


What is the difference between run time error and compile error?

A run-time is an error that occurs when the program is executing (running). This is where segfaults and other horrible things happen. A compile-time error is an error that occurs when you are compiling the code. This is where code syntax and semantics are checked. You want errors to only occur here.


What is the difference between runtime errors and compile time error?

Compile time errors occur do to syntax errors (such as forgetting a semi-colon at the end of a line) and they prevent your program from even compiling. A runtime error is an error in logic in your program. Your program will compile, however while running the program it will throw an error because it tries to do something illegal (such as dividing by 0).


What are steps to run a java application?

You must have the Java Run-time Environment installed on your computer. Steps: 1. Open Command Prompt 2. Enter the command: javac class.java 3. Enter the command: java <classfilename> (without the .java or .class extension) The javac command will compile your java source file and create a class file. The java command will execute or run your java class file.


What is the diff between Compile time error and run time error in C Language?

A compile-time error occurs when you attempt to compile the program, for example a syntax error. A run-time error occurs when you are running the program, for example the program asks you for a number, you enter a letter and the program crashes.


Still have questions?