About 1,440,000 results
Open links in new tab
  1. java - Programming at compile time or at runtime - Stack Overflow

    Mar 8, 2014 · Some answers said: the compile time is the period when you, the developer, are compiling your program or code. My question is when do I compile my program or code? For example: I open my IDE, eclipse or netbeans, write code in different classes and click on Run button and my application opens.

  2. Compilation and Execution of a Java Program - GeeksforGeeks

    Jan 27, 2023 · Calling an External Program in Java using Process and Runtime Java contains the functionality of initiating an external process - an executable file or an existing application on the system, such as Google Chrome or the Media Player- by simple Java code.

  3. Compile time and runtime in Java with Example - RefreshJava

    Difference between runtime and compile time. Compile time is a process in which java compiler compiles the java program and generates a .class file. In other way, in compile time java source code(.java file) is converted in to .class file using java compiler.

  4. Difference between Compile-time and Run-time Polymorphism in Java

    Jul 15, 2024 · In this article, we will see the difference between two types of polymorphisms, compile time and run time. Compile Time Polymorphism: Whenever an object is bound with its functionality at the compile time, this is known as the compile-time polymorphism. At compile-time, java knows which method to call by checking the method signatures.

  5. Compile time vs Run time Dependency - Java - Stack Overflow

    Feb 3, 2016 · What is the difference between compile time and run time dependencies in Java? It is related to class path, but how do they differ? Compile-time dependency: You need the dependency in your CLASSPATH to compile your artifact.

  6. java - compile time vs run time - Stack Overflow

    Sep 8, 2015 · To me, "compile time" means everything and anything that happens during compilation, and "run time" means everything and anything that happens when the code is run. There are many areas in which some decisions are made at compile time, others at run time.

  7. Compile-Time-Binding and Run-Time-Binding in JAVA

    Aug 12, 2023 · In Java, binding refers to the process of associating a method call or variable reference with its corresponding implementation or data type. This binding can occur either at compile-time or at…

  8. Understanding the Difference Between Compile-Time and Runtime in Java

    Dec 23, 2024 · Compile-time errors are easier to catch because they prevent the program from compiling, whereas runtime errors occur during execution and may require more effort to debug and resolve.

  9. Compile time vs Runtime - Tpoint Tech - Java

    Mar 17, 2025 · Compile-time is the time at which the source code is converted into an executable code while the run time is the time at which the executable code is started running. Both the compile-time and runtime refer to different types of error. Compile-time errors are the errors that occurred when we write the wrong syntax.

  10. Understanding compile time vs runtime relating to Java

    Sep 17, 2014 · Line A, evaluates the product at compile-time, and Line B evaluates the product at runtime. If you use a Java Decompiler (e.g. jd-gui), and decompile the compiled ConstantFolding.class file, you will see why as shown below. Constant folding is an optimisation technique used by the Java compiler.