answersLogoWhite

0

Why java is more preferable than c plus plus?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

Becuse there r no use of pointer in java. So we can't think about memory manipulation..............

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why java is more preferable than c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why is java's portability better than c plus plus?

As we know that java is a plateform independent language and the main advantage of java is that it can support to any operating system and can be executed to any machines without any modifications.Due to the use of class in java it has become more easier to understand the program compared to c plus plus.Hence,java is portable than c plus plus


Which is easier 'C plus plus' or 'Java'?

Java is considerably easier than C++.


Difference between java and C plus plus?

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


Is Java or C plus plus faster?

Java is considerably more convenient than either C or C++ due to its extremely high level of abstraction. However, that convenience comes at the cost of both performance and efficiency.


Advantages of C over C plus plus and java?

C can be faster than C++ programs, and definitely faster than Java, since Java is primarily interpreted. C is also somewhat less rigid in definitions as well, not as tightly structured as either C++ or Java can be.


Is Java better than c plus plus?

It is a different tool with difference strengths and weaknesses.


How is java different than any other OOP languages like C plus plus?

Every languages are different, a C++ compiler cannot compile a Java source.


How ploymorphism and inheritance is different from that in Java and c plus plus?

C++ allows multiple inheritance while Java does not. In my opinion, multiple inheritance is not useful because it can get very confusing very quick. For polymorphism, C++ does early binding by default, while Java does late binding by default. Late binding is more useful than early binding.


Why is it that weight batching of aggregate is more preferable to volume batching of aggregate?

why is batching of aggregate by weight is preferable than batching by volume


Does a method can throw an exception in java?

Yes it can. It is preferable to have code that will handle these exceptions in every class rather than throwing random exceptions that might confuse the user of the system


How do you implimenting multilevel inheritance in java?

In java we can implement more than one interfaces for a single class but we can't extend a class to more than one super class so ,java indirectly supports multiple inheritance.


Is saltwater more preferable to fishes than freshwater?

Depends on what kind of fish you ask.