Java and It's Environment
14 Pages Posted: 22 Jun 2021
Date Written: June 11, 2021
Abstract
Java is very easy to learn, and its syntax is simple, clean and easy to understand. According to Sun, Java language is a simple programming language because: Java is an object-oriented programming language. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior. Java is platform independent because it is different from other languages like C, C++, etc. which are compiled into platform specific machines while Java is a write once, run anywhere language. A platform is the hardware or software environment in which a program runs. Java code can be run on multiple platforms, for example, Windows, Linux, Sun Solaris, Mac/OS, etc. Java code is compiled by the compiler and converted into bytecode. This bytecode is a platform-independent code because it can be run on multiple platforms, i.e., Write Once and Run Anywhere(WORA). Java is architecture neutral because there are no implementation dependent features, for example, the size of primitive types is fixed.
Keywords: Java, JVM, JDB, Environment, Architecture
Suggested Citation: Suggested Citation