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

What is difference between throw and throws in Java programming?
throw keyword is used to throw Exception from any method or static block in Java while throws keyword, used in method declaration, denoted which Exception can possible be thrown by this method
Vinodha
Is it really needed to do Java training before graduation, to get a job?
Yes, It's must to get better opportunities and to standard alone in IT field. Not only core Java but also learn Spring,Hinernat ,Struts. ANGULARJS add an advantage to get job easily.
Udaybhan
Should we learn DBMS and RDBMS without any Java training?
java or i can say any programming language is not required to learn DBMS or RDBMS
Karthik
0 0
6
What exactly the work of constructor( default, parameterized) especially about instance variables initialization. Suppose user initialize the instance variables explicitly. Then what is the use of parameterized constructor over here.. Please reply me
Constructor is used to initialize an object at the time of creation. A default constructor is provided by the compiler itself if no constructor is provided by the user. It initializes the state of the...
Surekha
What is difference between C language and Java language?
Java is a purely object-oriented (class based) programming language that's designed to support the philosophy of "write once, run anywhere" i.e. compiled Java code runs on multiple platforms without re-compilation...
Poonam
0 0
5

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

Ask a Question

Related Lessons

Mastering in Java Programming
Core java topics What is Java?Execution Model Of JavaBytecodeHow to Get Java?A First Java ProgramCompiling and Interpreting ApplicationsThe JDK Directory StructureUsing Eclipse Data types and Variables What...

What Is Java? Explain The History Of Java
i. Ovierview: Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java...

Differences Between HashMap vs HashSet In Java.
HashSet HashMap HashSet implements Set interface. HashMap implements Map interface. HashSet stores the data as objects. HashMap stores the data as key-value pairs. HashSet...

Java Collection
Collection: The collection provides an architecture like a list where we can store and manipulate the group of items. Through Collections, we can achieve operations such as searching, sorting, insertion,...
V

Vinaykumar D.

0 0
0

Java 8 Predicates
In the previous lession, we have learnt how to use filters and collectors. In filter we have passed the condition to evaluate whether the object is eligible to be filtered or not. Code given below for...

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