answersLogoWhite

0

How is compilation different from java compilation?

Updated: 9/17/2019
User Avatar

Wiki User

9y ago

Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How is compilation different from java compilation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In the first step of the Java hybrid compilation process Java program code is converted into an intermediate format called .?

Java byte code.


How is java byte code is different from other low level language?

Java byte-code is the code which generate after the compilation of .java file.And this code is only understand by JVM(java virtual machine ) which understand it and execute it.In other languages this type of functionality is not available.


Why are Java files important in programming?

Java files, containing source code, play a crucial role in development, compilation, packaging, maintenance, and version control.


Why it is required to set path and classpath?

to compile and run java program you need to set path and classpath path refers to binary used to compile and run java program i.e. "javac" for compilation and "java" for execution


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


What is the Byte code definition?

Java compiler produces an intermediate code after compilation, understandable by JVM is called Byte Code.


In order to write compile and execute java programs in my PC which software should i install?

Compilation (byte code conversion) and execution (interpretation) of JAVA programs requires a JAVA Compiler and a JAVA runtime. There are many JAVA development systems available, some free, some not free. Two vendors for the PC / Windows platform are Sun and Microsoft, but, again, there are others.


Is there a sample program for constructor?

All Java programs would have a constructor... public class Test { public Test(){ ... } ..... } This is a constructor. Even if you dont code the constructor Java would automatically place a default constructor for compilation.


What is the java file in java?

The java file has the actual JAVA code present in it,..i.e the entire coding is done in that file.. you can view it using any text editor.. After compiling it you get a class file of every class present in the java file When you open a class file in a text editor, you won't see anything that makes sence. You won't find the original code that you wrote in the java file. That is because a class file is a product of the compilation of a java file.


How do you open a class file?

A (java) class file was not be made to be opened and modified by hand for the users. A class file is the resulting byte code of your java file compilation. This class file can be interpretaded for any jvm. To run your java class you only need to write these instructions in your command line. java [ options ] className [ arguments ... ] java -classpath D:\myprogram MyFileName one two three


What is Java byte-code level language?

Java byte-code is the code which generate after the compilation of .java file.And this code is only understand by JVM(java virtual machine ) which understand it and execute it.In other languages this type of functionality is not available.


Why java's code first converted into byte code instead of directly converted into machine code?

Because that's how java works. There are many other languages (C, for example), that work with direct compilation, and others (like PHP) that are interpreted.