Java Platform has two components
- Java Virtual Machine ( JVM )
- Java Application Programming Interface ( Java API)
Java Virtual Machine
Java Virtual Machine is base for Java Platform. It takes the whole responsibility of interpreting Java Byte code ( the intermediate form which comes after compiling your code)
- JVM’s are available for many hardware platforms
- The use of same byte-code for all JVM’s on all platform makes Java as platform independent and describes java as ‘write once, run anywhere’ language or crossplatform or platform independent language
Java API
The Java API is a large collection of ready-made, frequently used class libraries, stored in packages.
