Java Compiler
A Java compiler is a program which converts Java source code into Java bytecode.
A basic Java compiler is included as part of the JDK (Java Development Kit). This Java compiler is called “javac”.
- Java Source Code
Java source code is code that you write in the Java programming language. Java source code is converted to Java bytecode by the Java compiler. Java source code files usually have the .java extension. Sun recommends that Java source code files be no longer than two thousand lines. Larger source code files should be split [...]...
- Java Bytecode
Java bytecode is produced by the Java compiler and executed by the JVM (Java Virtual Machine). Java bytecode isn’t exactly source code, and it isn’t exactly compiled code, it’s something in the middle. Java bytecode is one of the things that make it possible for Java code to run on many different platforms. [...]...
- Java Virtual Machine
A Java Virtual Machine is quite simply a piece of software that enables Java technology to be recognized and successfully executed on a vast array of hardware platforms. Java virtual machines are so named because they provide a necessary environment for the Java bytecode to be executed. The flexibility of a JVM allows a Java [...]...
- Java Operators
Java Operator Operator Description [ ] Array index () Method call . Member access ++ Prefix or postfix increment -- Prefix or postfix decrement + - Unary plus, minus ~ Bitwise NOT ! Boolean (logical) NOT (type) Type cast new Object creation * / % Multiplication, division, remainder + - Addition, subtraction + String concatenation [...]...
- Java Loops – For, While, and Do
Java supports three types of loops: For, While, and Do. The Java For Loop The Java for loop is a looping construct which continually executes a block of statements over range of values. Java for Loop Syntax The syntax of a for loop in Java is: for (initialization; termination; increment) { statement } Example Java [...]...





