![]() ![]() We get the output only after JVM converts and execute the code. Now we pass the java bytecode through an interpreter called JVM (JAVA Virtual Machine) which will read every single statement at a time from java bytecode and convert it to machine level code and then will execute the code. ![]() We can say that Java bytecode is a modified version of java source code. Then we use a JAVA Compiler to compile the source code to get java bytecode which must have a program.class extension.First, we should have a java source code which must be saved with program.java extension.Steps involved to write and execute a java program In this tutorial, we will learn about how a java program works, what is compiler and interpreter and how codes are executed in java programming language. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |