answersLogoWhite

0


Best Answer

Java is very popular among high schools and universities for an introductory language. Java syntax is very similar to the "classic" C and C++ languages, but Java is much more developer-friendly when it comes to error feedback and memory management.

When entire generations of programmers are introduced to the field with the same language, that language tends to become the "popular" one.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Java introduces firewall between network applications and user-oriented applications for security purpose.

The concept of introducing object makes the Java code advantageous than any other programming language.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Java is not necessarily better than C++.

On the plus side...

  • Java provides automatic object deletion, using reference counted smart pointers and automatic garbage collection, which reduces or eliminates the hassles of dealing with memory address space fragmentation.
  • Java makes it harder to dereference invalid addresses or go out of bounds on an array.
  • Java is object code portable, so long as the target system has a compatible JVM.

On the minus side...

  • Since Java is interpreted, it tends to run slower than C++.
  • There can be unexpected delays when the garbage collector runs.
  • You do not have control of when the object destructor runs, so some things such as JDBC might not close database connections when you expect.

On the "you decide" side...

  • The class libraries for Java and C++ are dramatically different so, even though the two languages are nearly identical, the two environments do not map well, so knowledge of one does not make one a master of the other.

There are certainly other aspects. Other contributors; please feel free to refine this answer as appropriate.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Java is better than C Programming language. Java has powerful features. The following are some of them:-

Simple

Reusable

Portable (Platform Independent)

Distributed

Robust

Secure

High Performance

Dynamic

Threaded

Interpreted

Another answer: Not better, different.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

The original "C" language is a strong parallel to assembly language. The syntax designed into the language allows direct access to the powerful addressing modes built into processors. Other higher level languages fail to allow some of the addressing modes, thus limiting the power of the language itself.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

In Java you can develop applications which runs in Command Prompt as well as in GUI.

But using C, C++ you can only make applications which runs in Command Prompt, and/or GUI.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

java provides more api and classes than c, which makes programmer easy to mix up with env. it provides API

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

c is mother language ,c logically implemented language's follows all high level languages. Means,They followed c rules and syntax's.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is Java better than C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between java and C plus plus?

java is an advanced object oriented programming language than c++


What are the features in java that makes it similar to C programming?

Java is not similar to C. Java is, however, similar to C++. Both C++ and Java are object orientated programming languages (OOPL's).


What are the supporting tools for procedural programming?

C++, C#, c+ and java


Example of a programming language?

C, C++, Java, C-Sharp


Header files in Java programming?

Java does not require header files like C/C++.


What is the difference between c plus plus and java programming?

Java doesn't have pointers. C++ has pointers.


What programming language is YAHOO developed in?

C++, Java


Scanf in java?

There is no scanf in Java. It is one of the keywords used in C Programming language


What are examples of programming languages?

C, C++ and java are a couple. There are still many other programming language.


What programming language do raspberry pis have on them?

C, C++, Java, Ruby and Scratch.


What are the examples of object oriented programming environments?

Java, C++


What in computing is java python and c?

They are all programming languages.