#1  
25th July 2011, 09:25 PM
vijal
 
Join Date: Jul 2011
Posts: 1

Difference between Java, C++ and C Language?


Can you please tell me what is the exact
difference between java, c++ and c language




  #2  
26th July 2011, 08:32 AM
Muditaga
Senior Member
 
Join Date: Jul 2011
Posts: 132
Default Re: Difference between Java, C++ and C Language?

The difference is very much similar as the difference between you , your father, and your grand father.
C is the modified language of C++.
while Java is new one. With java it is easy to do programming and create website, games,etc.
  #3  
26th July 2011, 10:16 AM
JAMESS
Senior Member+++++
 
Join Date: Sep 2010
Location: india
Posts: 2,554
Default Re: Difference between Java, C++ and C Language?

there are so many difference between C, C++ and JAVA. i think you will get these all differences from any book still i am giving some difference here.

first of C is a procedural language whereas C++and JAVA is object oriented language. in object oriented language there is concept of inheritance, polymorphism, encapsulation. but in C there is no concept like this.

C is a top down approach language. C++ and java are bottom up approach language.

in C++ there is concept of class, method etc. but in C there is no such concept.

C++ allow name space but C does not.

in this way so many differences are there. try to collect the total difference from any good book.
  #4  
26th July 2011, 10:42 AM
venkataprakash.v
Senior Member+++++
 
Join Date: Dec 2010
Location: chennai.
Posts: 4,121
Default Re: Difference between Java, C++ and C Language?

Quote:
Originally Posted by vijal View Post
Can you please tell me what is the exact
difference between java, c++ and c language
C is a Structure Oriented Programming Language.

C++ is a Objected Oriented Programming Language.

Java is a Purely Oriented Programming Lanaguage.

Java doesn't have a Pre-processor(i.e#define,#include)

C++ using the class concept and C is not using the class concept.

Java doesn't support multiple inheritance.

Java doesn't use the pointers.

Java has a different package like lang,I/O,awt,net,applet...etc.
Reply With Quote
  #5  
26th July 2011, 10:54 AM
kumar96
Senior Member+
 
Join Date: Jul 2011
Posts: 622
Default Re: Difference between Java, C++ and C Language?

Hi,

There is some difference in C,C++ and Java.

C language is the base of all language.all computer language uses concept of C language.if your concept of C language are clear then you can easily prepare other language easily.

C language is platform dependent language.it is a procedural language.we have to follow a procedure to complete our task.

C++ is a object oriented language.we make object to complete our task.all language uses C++ concept as Inheritance,Polymorphym,Abstraction and other many comcepts.these are the concept of C++ language.

Java is very very important language.it uses C and C++ language concept.Java is platform independent language.Java code after compilation generate byte code which can run on any machine.

Todays most electronic items are based on java as all multimedia phones are based on java.without java they can't work properly.Java use the concept of C and C++ language.
Reply With Quote
  #6  
26th July 2011, 12:08 PM
nambardar
Senior Member+
 
Join Date: Jul 2011
Location: bikaner
Posts: 881
Default Re: Difference between Java, C++ and C Language?

c and c++ are plateform dependent language. because in each system they are not ork successfully.

JAVA is the plateform independent language.
in java programs we are needed the jvm.
jvm is the java virtual machine.
which is installed in the system.


in java all coding are done in the class but this is not in c.
so this is the main difference.
Reply With Quote
  #7  
26th July 2011, 02:27 PM
BISWARUPYOGI
Senior Member+++++
 
Join Date: May 2011
Location: India
Posts: 38,947
Default Re: Difference between Java, C++ and C Language?

Quote:
Originally Posted by vijal View Post
Can you please tell me what is the exact
difference between java, c++ and c language
dear friend,

I think the main difference between C or C++ and Java in Object-oriented. In Language C or C++, we can extend one more classes. There are many problems from the method of extending, like the sequence of initializing the class before using it and the sequence of destroying the class. It's very hard for the beginner. So Java doesn't allow extending from more one class. On the other side , there is the same in C++ and Java.

C is a procedure oriented language .

C++ is c with object oriented language.

Java is truely object oriented.

thanks
Reply With Quote
  #8  
26th July 2011, 02:36 PM
saurav9889
 
Join Date: Jul 2011
Posts: 357
Default Re: Difference between Java, C++ and C Language?

friend c is a low level language and is an basic lang. required in all sectors. c++ is a high level lang. and is based on the concepts of c lang. though there are some xtra features involved whereas java is a high level lang. that is similar to c++ its of 2 types core and advanced.
Reply With Quote
  #9  
26th July 2011, 05:00 PM
subham7772
Junior Member
 
Join Date: Jul 2011
Location: Bhubaneswar, Orissa
Posts: 56
Default Re: Difference between Java, C++ and C Language?

Difference Between C and C++ :-

1.C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented).
2.In case of C, the data is not secured while the data is secured(hidden) in C++.
3.C is a low-level language while C++ is a middle-level language.
4.C uses the top-down approach while C++ uses the bottom-up approach.
5.C is function-driven while C++ is object-driven.
6.C++ supports function overloading while C does not.
7.We can use functions inside structures in C++ but not in C.
8.The NAMESPACE feature in C++ is absent in case of C.
9.The standard input & output functions differ in the two languages.
10.C++ allows the use of reference variables while C does not.

Difference Between C++ and JAVA :-

C++:-
1.Compatible with C source code, except for a few corner cases.
2.Write once compile anywhere (WOCA).
3.Allows procedural programming, object-oriented programming, and generic programming.
4.Allows direct calls to native system libraries.
5.Exposes low-level system facilities.
6.Only provides object types and type names.
7.Has multiple binary compatibility standards (commonly Microsoft and Itanium/GNU).
8.Supports native unsigned arithmetic.

JAVA:-
1.No backward compatibility with any previous language. The syntax is however strongly influenced by C/C++.
2.Write once run anywhere / everywhere (WORA / WORE).
3.Strongly encourages an object oriented programming paradigm.
4.Call through the Java Native Interface and recently Java Native Access.
5.Runs in a protected virtual machine.
6.Is reflective, allowing metaprogramming and dynamic code generation at runtime.
7.Has a binary compatibility standard, allowing runtime check of correctness of libraries.
8.No native support for unsigned arithmetic.

Except these difference there are a lot of diffrence.For this you should refer to the different books based on C,C++ And JAVA.
Reply With Quote
  #10  
27th July 2011, 06:45 PM
poonam_aggarwal
Junior Member
 
Join Date: Jul 2011
Location: Jammu,J&K
Posts: 11
Default Re: Difference between Java, C++ and C Language?

C is a basic language. it has nothing to do with object-oriented part.

C++ is advanced form of C. you can say that it is an improvement over C(or advanced level of C). it also includes object oriented part but it is not a pure object oriented language. it is used in various basic projects like ATM machine is programmed using C++.

Java is a pure object oriented language. it is used mostly over internet. But it also uses basic concept of C language.
Reply With Quote
  #11  
31st August 2011, 02:18 AM
amaan khan ak
 
Join Date: Aug 2011
Location: bikaner
Posts: 579
Default Re: Difference between Java, C++ and C Language?

Quote:
Originally Posted by vijal View Post
Can you please tell me what is the exact
difference between java, c++ and c language
All programming language are almost similar.The main diffrence are

C language is a structure language.Its a top down approach.Pointer used in C

language.C language is a platform dependent language so its not possible to

run the executable code on other operating system,processor or system.


C++ is the advanced version of C++ language.Its a object oriented

language.Its also a platform dependent language so the executable code cant

run on other operating system,processor or system.C++ language uses the

property of object oriented language like polymorphism,inheritance etc.


The last one is java language.Its the best language in all language.Its purely

object oriented language.That means it uses the property like

inheritance,polymorphism,abstraction etc.Its a plateform independent

language so that means the executale code(byte code) can be run on any

other operating system,processor or system.
Reply With Quote
  #12  
10th September 2011, 05:41 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

java Write once run anywhere why?
Reply With Quote
  #13  
11th September 2011, 01:43 AM
manoj rajpurohit
Junior Member
 
Join Date: Feb 2011
Location: Bikaner
Posts: 352
Default Re: Difference between Java, C++ and C Language?

there are some main difference in among the c, c++ and java languages:-

c is a structured language. it is a platform dependent language. it is a top tp down approach language, it does not contain any class or the object.

c++ is a object oriented language, this has the characteristics of the inheritance, encapsulation and polymorphism. it also contain the class and object.

java is a down to top approach language. it is a simple language.
it is a platform independent language.
it contains all the characteristics of the OOP.
Reply With Quote
  #14  
11th September 2011, 04:03 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

diff. between java n c
Reply With Quote
  #15  
27th October 2011, 10:37 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

are class name and file name diff in java?
Reply With Quote
  #16  
28th October 2011, 12:29 AM
abhin91
Member+
 
Join Date: Oct 2011
Location: bangalore
Posts: 325
Default Re: Difference between Java, C++ and C Language?

C++ , you can say is the modified new version of C and java the latest.
Also C is a procedural language and C++and JAVA is object oriented language.
C is a top down approach language. C++ and java are bottom up approach language.
Programming in java is much for easier and user friendly compared to C programming.
Reply With Quote
  #17  
19th December 2011, 08:05 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

what is a software?
Reply With Quote
  #18  
24th February 2012, 06:06 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

what is java script explain ?
Reply With Quote
  #19  
25th February 2012, 08:19 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

difference between c and java???
Reply With Quote
  #20  
10th May 2012, 01:30 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

what is the difference between java and java script.?
Reply With Quote
  #21  
17th August 2012, 11:36 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

what is difference in constructor of c and JAVA?
Reply With Quote
  #22  
4th September 2012, 11:30 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

what is difference between method overloding and method overriden in java
Reply With Quote
  #23  
11th April 2013, 10:56 AM
pokeman
Senior Member
 
Join Date: Mar 2013
Posts: 187
Default Re: Difference between Java, C++ and C Language?

hi,,,,

Difference Between C++ and JAVA

C++---

**Exposes low-level system facilities.
**Write once compile anywhere (WOCA).
**Supports native unsigned arithmetic
**Compatible with C source code, except for a few corner cases
**Allows direct calls to native system libraries
**Only provides object types and type names.

JAVA:-

**Call through the Java Native Interface and recently Java Native Access.
**No native support for unsigned arithmetic.
**Write once run anywhere / everywhere (WORA / WORE
**Runs in a protected virtual machine.
**No backward compatibility with any previous language. The syntax is however strongly influenced by C/C++

Difference Between C and C++ :-

**C++ supports function overloading while C does not.
**C++ allows the use of reference variables while C does not.
**C uses the top-down approach while C++ uses the bottom-up approach
**C is function-driven while C++ is object-driven.
**In case of C, the data is not secured while the data is secured(hidden) in C++
**The standard input & output functions differ in the two languages



best of luck!!!!!!!!


thanks alot!!!
Reply With Quote
  #24  
19th June 2013, 05:31 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

history of java?
Reply With Quote
  #25  
20th December 2013, 10:54 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between Java, C and C Language?

give some examples related to this which is very helpful to understand clearly
Reply With Quote
Do you have any question? or have anything to say?



Related Topics:

Thread Replies Last Post
Difference between CC MBA and Regular MBA? Which one is beneficial? Difference between LLM and LLB? 5 31st May 2023 10:46 PM
What is the academic difference between CBSE and ICSE board? Which board is easier to score? Any real difference in subjects from preparation stand point? 38 3rd February 2020 06:31 PM
Difference between MBA and regular MBA? Which one is beneficial? Difference between LLB and LLM? 6 9th October 2013 05:36 PM
Difference between Nautical Science and Marine Engineering? 12 24th June 2013 07:14 PM
What is difference between Information Technology and Computer Science branch in Engineering? Difference between B.Tech and B.E? 24 13th August 2012 11:56 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.
Please also check: