Introduction to Java
Java is both a platform as well as a programming language.
Java as a programming language
High level language is the category into which the java programming language falls into, and it can be described by words like simple, object oriented, multithreaded, distributed, portable, secure, high performance, robust, architecture neutral and dynamic.
The java programming language requires all the source codes to be written in plain text files first, having the .java extension in the end. The further compilation is into .class flies by the compiler. This files contains bytecodes rather than the code that is native to the processor. The launcher then with the instance of the JVM (java virtual machine) runs your application.
The software or hardware environment of a program is called a platform. A combination of an underlying layer of hardware with an operating system will successfully describe maximum of the platforms. Java platform is a little different from most platforms as it has an exclusive software base and it runs on other hardware bases systems or platforms.Two components comprise of the java platform.
- The Java Application Programming Interface (API)
- The Java Virtual Machine
JVM is a base for the java bases platform and is run across different hardware based platforms.
A large data of software components, all ready made that increase the usefulness of the program is called an API. Libraries of relates interfaces and classes are a large collection of ready-made software components that provide many useful capabilities. It is grouped into libraries of related classes and interface known as packages, and these are the groups into which it is grouped.
Filed under: Java & Javascript