Why is Java better than C++?

Asked by Last Modified  

4 Answers

Learn Java

Follow 1
Answer

Please enter your answer

I am online Quran teacher 7 years

There isn't a definitive answer to whether Java is better than C++ or vice versa, as it depends on the specific use case and requirements. However, some reasons people might prefer Java include its platform independence (write once, run anywhere), automatic memory management, and strong support for multithreading....
read more
There isn't a definitive answer to whether Java is better than C++ or vice versa, as it depends on the specific use case and requirements. However, some reasons people might prefer Java include its platform independence (write once, run anywhere), automatic memory management, and strong support for multithreading. C++, on the other hand, is often praised for its performance, closer-to-the-metal capabilities, and extensive standard library. Ultimately, the choice between Java and C++ depends on the project's needs and the developer's preferences. read less
Comments

IT Corporate Trainer with 9 years of experience in Edu tech

Since IDE support for Java is much more advanced than for C++, most environments (Eclipse, IntelliJ, IDEA) will be able to refactor Java. This means that most IDEs will allow you to optimize code to run with low latency, a capability that is still limited when working with C++.
Comments

Engineering background teacher with 5+ years of teaching experience.

Java is often considered better than C++ for its automatic garbage collection, portability through bytecode, emphasis on safety and security, ease of learning, and comprehensive standard libraries. However, the choice depends on specific project requirements, as C++ might be preferred for performance-critical...
read more
Java is often considered better than C++ for its automatic garbage collection, portability through bytecode, emphasis on safety and security, ease of learning, and comprehensive standard libraries. However, the choice depends on specific project requirements, as C++ might be preferred for performance-critical tasks or systems-level programming. read less
Comments

C language Faculty (online Classes )

Java is a high-level language, making it better suited for developing Android applications, web and desktop applications, and server applications. Java is also more popular and versatile than C++ so it's easier to find a Java developer than a C++ developer.
Comments

View 2 more Answers

Related Questions

Who can provide good Java training with real-time but not institute?
If you reside in pune then i can provide real time programming in java . So you will get to know industry based java programming
Profile Photo
Sridevi
0 0
View Comments6
What are the advanced features of EJB3.1?
1. Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside...
Profile Photo
Arunava Chatterjee
Why do many software engineers not like Java?
Opinions on programming languages can vary, but some software engineers may express dissatisfaction with Java for reasons such as perceived verbosity, boilerplate code, and a slower pace of language evolution...
Profile Photo
Guruprasad
0 0
View Comments5
What's Java's most used IDE?
As per Dzone's recent survey, The Eclipse IDE remains the most popular place for Java developers to primarily write their code, though it saw a 7% decrease from last year’s survey results (50% in 2016...
Profile Photo
Ritu
0 0
View Comments7
What do you understand by Object and Class?
An object is memory that can represent the data of real object , class is plan for object memory structure so we can say class is also a data typed for creating objects
Profile Photo
Afsal

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Features Of Java
There is given many features of Java. They are also known as java buzzwords. The Java Features given below are simple and easy to understand. Simple. Object-Oriented. Portable. Platform independent. Secured. Robust. Architecture...
Profile Photo

What Is Applet & Its Life Cycle?
What is Applet & its life cycle?Applet is a Java programme that can be embedded into HTML page.Java Applet runs on the java enables web browsers such as Mozilla & Internet Explorer.Applets are...
I

Icreative Solution

0 0
View Comments0

Java Advantages
In this video, learn about Java and its advantages. Also, check out the difference between Java and C++, Java development kit, Java Run Time Environment (JRE) with a proper demonstration program for better clarity.
Profile Photo

JAVA Question 1 for beginners
String x="We are learning";String y="mistakes happen";int z=1000;System.out.println("Java is easy. "+x+" programming and "+y+" "+z +" times"); what is out put this code
Profile Photo

Inheritance In Java
Inheritance: The process of getting properties and behaviors from one class to another class is called inheritance. Properties: Variables Behaviors: Methods The main purpose of the inheritance...
D

Deleted U.

1 0
View Comments0

Recommended Articles

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you