Most programming languages ??are designed for a specific operating system and processor architecture. When the source code (the instructions that make up the program) will be collected, it is converted into machine language, which can be only one type of machine. This process produces code that is very fast.
Java is an object oriented language. An agreement object-oriented languages ??with objects. The objects contain data (member variables) and code (methods). Each object belongs to a category which is a document that describes the member variables and methods of an object provides. In java tutorial, almost every variable is an object of some kind or another – even the chains. Object-oriented programming requires a different mindset, but a better way to design software procedural programming.
Many popular object-oriented languages ??available today. Some, such as Smalltalk and Java are designed from the start to be object oriented. Others, like C + +, are partially object-oriented, and part of the procedure. In C + +, you can always replace the contents of data structures and objects, making the application to crash. Fortunately, Java does not allow direct access to memory contents, leading to a more robust system.
Another type of language is being interpreted. Interpreted code is read by software (the interpreter), which performs the specified actions. often interpreted code must be compiled – which translates as running. For this reason, the interpreted code is quite slow, but often in different operating systems and architectures of mobile processors.
Java takes the best of both techniques. Java code is compiled into the machine code platform neutral, which is called Java bytecode. A particular type of interpreter, known as a Java virtual machine (JVM), reads the bytecode, and candy. A figure shows the removal of a small Java application. Bytecode, the arrow, is represented as text, but when the compilation, is represented as bytes to save space.
