With this article we are introducing beginners in Java with its basics. Java is a programming language that is being used worldwide to develop high performance software and programs. Most of the computers, smartphones, game consoles, Blu-Ray players, companies like Google, Microsoft, Apple, etc. are extensively using Java technology.
Java has Just In Time compilation and supports a Connected Architecture. It can run on different types of computer without any modification called Write Once Run Anywhere (WORA) Java programs are simple, secure and portable across operating systems and hardware environments that make this programming language the first choice of programmers. The first step is to install JDK (Java Development Kit). The other thing you need is Integrated Development Environment (IDE) like Eclipse, NetBeans, Jcreator, etc.
Unlike C, C++, all data-type sizes and formats are pre-defined in Java that helps the programmer as he/she need not write it again and again. Java class library is provided and available on all Java runtime system and contains container classes and regular expression that are useful for programmers. Java programming is considered one of the most secured languages as it is free from any viruses and it is impossible to write incorrect code within. Java language does not crash easily. It is considered one of the most robust language which has features like garbage collection, array and string bounds checking, etc. that helps in avoiding crashes while executing the program.
The only thing required to run Java program is JRE (Java Runtime Environment) and Java Application Programming Interface (API). Most of web browsers today come along with their own JRE. Java Runtime system does not directly compile a source code into machine language but first changes it into byte code. This byte code is read by Java Virtual machine and is converted into platform specific machine language. JVM acts as a translator between the language and the underlying software and hardware.
Garbage collection in Java is automatic and avoids all types of memory leaks.
Compiler converts Java source file into byte-code that can be read by machine. Byte-code for each class is placed in separate file. All linking is done dynamically at runtime.
Java Technology Editions:
JSE (Java Standard Edition) is used to create server and desktop applications, which can be run on almost every popular operating system. JEE (Java Enterprise Edition) helps in web application service, component model and enterprise class service oriented architecture (SOA).
JME (Java Micro Edition) is used for the development of software for devices. It has an easy user interface, a robust security model and a wide variety of built-in networks for running Java based application.
Today, Java is used to develop some of the most complex web, mobile and desktop applications. It is used for server side programming. One can learn Java language online, there are many websites that provide simple ways to learn Java. Step-by-step tutorials, video tutorials and articles help a beginner to learn all aspects of Java.
Here is more tutorials for Java coding for beginners
Liked it! Share this Tutorial