Introduction to Java Programming

Our core Java programming tutorial is designed for students and working professionals to understand. Java is a computer programming language that is object-oriented, class-based, concurrent, stable, and general-purpose. It’s a reliable technology that’s commonly used.

JAVA was developed by Sun Microsystems Inc, which was later acquired by Oracle Corporation. James Gosling and Patrick Naughton collaborated on the project. It’s a straightforward programming language. In java, writing, compiling, and debugging a program is easier. It aids in the creation of modular programs and reusable code.

Java
https://medium.com/@chamikakasun/how-to-manage-multiple-java-version-in-macos-e5421345f6d0

JVM(Java Virtual Machine)

This is commonly referred as JVM. Before, we speak approximately JVM shall we see the levels of application execution. Phases are as follows: we write this system, then we collect this system and at final we run this system.

1) Writing of this system is of path executed through java programmer such as you and me.
2) Compilation of application is executed through javac compiler, javac is the number one java compiler protected in java improvement kit (JDK). It takes java application as enter and generates java bytecode as output.
3) In 1/3 phase, JVM executes the bytecode generated through compiler. This is known as application run phase

So, now that we understood that the number one characteristic of JVM is to execute the bytecode produced through compiler. Each running gadget has extraordinary JVM, but the output they produce after execution of bytecode is equal throughout all running systems. That is why we name java as platform unbiased language.

JRE(Java Runtime Environment)

JRE is unique software program that may be used to compress in addition to affirm information switch among a private laptop and the server. The software program makes it feasible to apply the Java applet defensive documents in transit and making sure they’re written to disk efficiently in addition to improving the Home Directory Web Interface.

JDK(Java Development Kit)

The Java Development Kit (JDK) is a software program improvement surroundings used for growing Java programs and applets. It consists of the Java Runtime Environment (JRE), an interpreter/loader (Java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc) and different equipment wanted in Java improvement.

Java Code Example

class Simple{  
    public static void main(String args[]){  
     System.out.println("Hello Java");  
    }  
} 

Applications

According to Sun, 3 billion devices run Java. There are many gadgets wherein Java is presently used. Some of them are as follows:

  • Mobile Application
  • Desktop GUI Applications
  • Web-based Applications
  • Enterprise Applications
  • Scientific Applications
  • Gaming Applications
  • Big Data technologies
  • Business Applications
  • Smart Card

Java Platform/Editions

There are 4 platforms or editions of Java:

2 thoughts on “Introduction to Java Programming”

  1. Keep up the wonderful piece of work, I read few blog posts on this web site and I conceive that your web blog is real interesting and has got lots of great info .

Leave a Comment

Your email address will not be published. Required fields are marked *

x