Sei sulla pagina 1di 2

 Language-C is a procedural language , C++ is a object oriented language

 Java is a pure object oriented language. Platform Independent-


 C & C++ both are platform dependent that means you can’t run the execute
code in any other operating system. Java is a platform independent language
We can create our own package in Java (set of classes) but not in c and c++.
 Internet programming like Frame, Applet is used in Java not in C,C++.
 Java uses compiler and interpreter but in C & C++ uses compiler only.
 We use multiple inheritance in C++ not in Java .In Java we use Interface
instead of multiple inheritance. In c there is no inheritance.
 In C we use stdio.h header file .In C++ we use iostream.h,conio.h headerfile
but Java does not support any header files.
 Pointers are used in C and C++ language, but Java will not support for
pointers.
 There is no Exception handling in C, but it supported by Java & C++.
 In C no overloading, In C++ supports overloading & in Java operator
overloading not support.
 Storage classes: auto, extern are supported by C and C++, but in Java not
supported.
 C++ is also common with gaming applications where speed is necessary. You can
manipulate hardware with Java, but it's not a common language for low-level
programming since it's a “safer” language. ... Java is more widely known and
versatile, so it's also easier to find a Java developer than a “harder” language such
as C++.
 Java is the foundation program for Android applications, so it’s the general choice
for mobile developers. C++ is a low level language used to power hardware and low-
level programs such as device drivers and network analysis tools. Because they
both can perform similar functionality, it can be difficult for a client to determine the
right platform.
 C++ is generally reserved for software that needs “hardware-level”
manipulation. One difference between C++ and Java is that C++ is closest to
machine language, which makes it much more viable for software that needs to run
quickly and requires the ability to work directly with your computer’s memory, hard
drive, CPU or other devices. C++ is also common with gaming applications where
speed is necessary.
 You can manipulate hardware with Java, but it’s not a common language for low-
level programming since it’s a “safer” language. Because Java won’t allow you to
perform certain functions to protect the PC, it’s preferred for higher level
applications.

 Java is the foundation for Android development, so if you want a mobile


application specifically for Android, then Java will be your language of choice.
Java is also common for web and desktop apps as well as applications that run
on servers. Java is more widely known and versatile, so it’s also easier to find a
Java developer than a “harder” language such as C++.

 Overall, C++ can be used for almost anything but it’s not always necessary to
use it. Java is usually sufficient and can be much more effective for your project.
You can find more developers who know Java, and you’ll be able to find more
developers to pick up where your former developer left off if you part ways.

 The best way to make a firm decision is to post your project and ask developers
for their opinions. They can tell you which language is right for your project to
help guide you to the right solution.

Potrebbero piacerti anche