answersLogoWhite

0

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

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

What is the differences between smalltalk and c plus plus?

Smalltalk is dynamically typed whereas C++ is statically typed. As a result C++ performs better than Smalltalk. However, Smalltalk inheritance is less strict than C++ so it's a bit more flexible.


Is ODU engineering better than VCU engineering or science?

The ODU has much better engineering than VCU. VCU is primarily based on the social arts and business. However, ODU has a program through NASA that causes engineering student to get internships. Plus, it is well known through out NASA employees that ODU has better engineering school than VCU. Thus, if you are like graduate student or undergrad. Freshman year, I strongly suggest to attend at ODU than VCU.


Is for loop is faster than while loop in turbo c plus plus compiler?

No, why did you think so?


Can graphics in C programming done with compilers other than turbo c plus plus?

Of course.


Why c plus plus is better than c?

C++ supports class. It is used Object-oriented Programming(OOPs) concept whose based on objects. We can use many classes in a program. Function overloading, Inheritance etc. concept present in it. Easy maintenance of program. That's why it seems better than c. Is C++ better than C as you imply by the question. Just a thought. There are quite a few OO programming languages out there but on C++ is more popular. That would seem to imply that all the other OO programming languages are not much good or that C++ if the flavor of the month. I will make no pronouncement on that. C++ programs require more typing than C (if you are a poor typist, an important factor). Anything that can be programmed in C++ can be programed in C (and will probably run faster) and anything that can be programmed in C can be programmed in C++. C++ is perhaps harder to maintain and debug than C but C++ is supposedly better for relay large projects where the number of code lines gets to an absurd number. I would say that one language is not better than the other but rather that, one language is going to be better suited for a given project and the suitable language may be something other than C or C++.