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.
Low level computer languages require the programmer to know the machine code or assembler language for the computer CPU targeted including low-level functions like memory allocation and memory deallocation.A high-level programming language is a programming language with strong abstraction from the details of the computer.The Java programming language is not only a high-level language, but is also machine and platform independent in that the same compiled byte-code can run on different platform and CPUs without recompiling.
the program written in high level language is called "source program"
The Java virtual machine is not a compiler, it is an interpreter which primarily performs runtime-translation of Java byte code (the native language of the Java virtual machine) to machine-code (the native language of the physical machine). The Java compiler, on the other hand, is a separate program used to perform compile-time conversion of high-level Java source code to the lower level byte code. Java byte code is highly portable; once compiled, any architecture or platform that implements a JVM can execute the byte code without modification.
when we compile a file in java, it creates a byte code which later on gets interpreted to machine understandable code. byte code is not machine language. where system understands only machine language. hence the interpretation of byte code is required.
Bijan Mashaw has written: 'C++ programming byte by byte' 'Programming byte by byte' -- subject(s): FORTRAN 77 (Computer program language), Structured programming 'BASIC' -- subject(s): BASIC (Computer program language)
converting of humanreadlable language to machinelevel 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.
Java
Not only can we but we have to! Machine code is the only language understood by the computer, thus all languages, both low and high level, must be converted to machine code in order to execute. Most compiled languages can produce low-level symbolic code (assembly language), but not all, especially those that compile to byte code rather than machine code. However, all code has to be compiled or interpreted to machine code at some point and machine code can be disassembled to produce low-level symbolic code.
When Java (or another programming language) warns you that there is a possible loss of precision, they mean that you are trying to treat one type of number as a different type.For instance, if you try to store an int value in a byte variable:int i = 10;byte b = i;The int can store more information, so forcing it into a byte may cause a loss of that extra information.In order to work around this, you need to cast the variable to tell the programming language that you really want to convert from one type to the other.int i = 10;byte b = (byte) i;
Bytes is a memory description in computer terminology, a computer language is something totally different than terminology. A byte is 8 bits long, a bit is a space for an on or off setting - 0 or 1. A byte has 8 of these in a row - 10100101 or 11111111 or 00000001. A byte can be used to count in binary from 0 to 255 (00000000 to 11111111).
The number of bytes used by a character varies from language to language. Java uses a 16-bit (two-byte) character so that it can represent many non-Latin characters in the Unicode character set.