While on my job search I’ve seen a great amount of employers looking to hire someone with experience in Java. So let’s take a look into this programming language and see the pros and cons it offers. Java was created by a team led by James Gosling, and was released to the world in 1995. It is an objected oriented programming language that is free to access.
Easy to Learn: Java was designed to be easy to use, so if you have an understanding of objects, classes, and frameworks in general you should be in a good place to pick up Java fairly quickly.
Object Oriented: You can reuse objects and who doesn’t love to reuse code. As well as maintain the distribution of data in an organized way.
Large Community: A testament to this is how long Java has been around, according to a survey done by Stack Overflow in 2020 roughly 40% of users on this website use Java.
Platform-Independent: Possibly the biggest pro of Java. Essentially this means you have to write the code once and it can be run anywhere. This is done by the Java compiler which turns code into Bytecode, which is then interpreted by the Java Runtime Environment and then translated to the host computer.
Slower Runtime: Java typically has a slower runtime than other languages such as C or C++ because the code is being interpreted to the machine level.
Memory: Java takes up a lot of memory on your device.
Cost: Because you need more memory and processing power the cost to run Java is increased.
What is Java? A Beginner's Guide to Java and its Evolution | Edureka
What is Java? Java is a cross-platform object-oriented programming language that was released by Sun Microsystems in…
Advantages of Java
Java has significant advantages over other languages and environments that make it suitable for just about any…
Advantages and Disadvantages of Java - TechVidvan
Java has been consistently holding the top position of the TIOBE index among all other programming languages. Though…
Stack Overflow Developer Survey 2020
Each month, about 50 million people visit Stack Overflow to learn, share, and build their careers. Industry estimates…