Java features

That's_rushi
2 min readMar 2, 2023

--

Java has many important features that makes java one of the most useful programming language today. As the time passes, java has emerged as one of the most preferable programming language for different types of need. This tutorial will cover some of it’s features which makes it one of the most useful language.

Simple:

Java is a simple language because it’s syntaxes are very similar to C++ syntaxes, it also provides automatic memory management through garbage collection, programmers don’t have to focus on complex memory management. Also there is no concept of pointers in java that confuses programmers a lot. All these things makes java a simple language.

Object Oriented:

Java is an object oriented programming language because java supports the principles of Object Oriented Programming(OOPs). Everything in java plays around objects, we create variables, methods etc for objects in a program.

Portable:

Java is portable because the bytecode(.class file) of a program can be run on different machines without any change in it. Java was designed with a goal that if new architectures are developed, the java environment could be ported easily. While porting all you need to have is the .class files of application on existing machine. Just copy these .class file on new machine and run your application by installing(if not already installed) the java virtual machine on new machine.

Secured:

As java does not have concept of pointer and provides the automatic memory management, it reduces the chances of memory leak. Also java program runs in a separate java virtual machine which enhances it’s security. These features together make java one of the most secured language.

Robust:

A language is called robust if it is reliable. The reliability comes because java strongly checks for error in program at compile and runtime both, to eliminate error-prone situations. The reliability also comes because java also has the strong memory allocation and automatic garbage collection mechanism which reduces the probability of crashing a program at runtime.

Platform Independent:

Java is platform Independent programming language because java program compiled code can run in all operating systems.

--

--

That's_rushi

Developer with experience in application development using Java, spring boot and J2EE. Expertise in using Core Java & Web technologies like Restful Webservices.