Loading

What is Java?

Key points

  • Java is not just a language, it is also considered as a technology that gives a platform to create mobile and web applications, games, etc. It has many frameworks and libraries like Spring, Hibernate, Servlet JSP, etc.
  • Java is one of the most popular programming languages in the world. It is used by around 80% of IT giants.



Definition

Java is a high-level programming language. It has a JAVA compiler that converts Java language to machine language or byte code. It is an object-oriented programming language because every action is performed with the object's help. The complete program code is placed within classes and interfaces. We can refer to a class as a blueprint of an object.

Java First Program

Example:

public class FirstProgram {
	public static void main(String[] args) {
		System.out.println("Welcome TO Quipo House");
	}
}

Output:

Welcome TO Quipo House                                  


Java Features

  • Simple to learn: Java's syntax is clean and easy to understand, making it accessible for beginners.
  • Compiled and Interpreted: Java code is first compiled into bytecode, which is then interpreted by the Java Virtual Machine (JVM). 
  • Platform Independent: Java programs can run on any device with a JVM. 
  • Portable: Java's bytecode can be executed on any platform without modification. 
  • Architectural Neutral: Java's design ensures that the code does not rely on any specific hardware or operating system. 
  • Object-Oriented: Java uses objects to perform operations. 
  • Robust: Exception handling in Java facilitates the creation of reliable applications. 
  • Secure: Features like bytecode verification and access control lead to a secure application.
  • Distributed: Java supports the development of applications that can operate across multiple computers in a network, allowing for distributed computing. 
  • Multi-threaded and Interactive: Java allows concurrent execution of two or more threads for interactive and responsive applications. 
  • High Performance: Java's Just-In-Time (JIT) compiler and optimized runtime environment offer high performance. 
  • Dynamic and Extensible: Java supports dynamic loading of classes and integrates easily with other libraries and frameworks.

2-min Drill

Java Overview:

Java is a high-level, object-oriented programming language and technology used for building applications across devices.

Key Concepts:

Object-Oriented: In Java, everything is object-oriented.

Transferable (platform-independent): you write Java code once for each machine and IG will run on any device that is also using a JVM.

Strong & Secure: Fully Automatic Memory Management. Very High-Level Security as well for the datastore level and at the REST API layer.

Key Features:

Similar to C++: Clean Systax. Easy for Learning

Thread Safe: Can be used without interference.

High-speed: Unique technology using Just-In-Time (JIT) compilation.