#1  
24th December 2010, 10:28 PM
saranyarameshkumar
Junior Member
 
Join Date: Dec 2010
Posts: 1

Difference between C, C++ and Java?


Please tell what s the difference between c and c++ and java
  #2  
26th December 2010, 09:58 PM
rahul k
Senior Member+++++
 
Join Date: Feb 2010
Location: Rishikesh, Uttranchal
Posts: 9,724
Default Re: Difference between C, C++ and Java?

Dear Friend

C is a structured or procedural oriented language.

C++ is a object oriented language.

And Java is a combination of C and C++.

C and C++ have Supports pointers But JAVA Will not Support Pointers. So, C is geared towards procedural programming.

C and C++ both compile to native machine code but Java generally compiles to Java bytecode.

So, if you want to get more Difference between C, C++ AND Java. Then please read the given attach file -
Attached Files
File Type: docx The Differences Between C, JAVA.docx(19.3 KB, 468 views)
  #3  
26th December 2010, 10:02 PM
priyanka_swengg
Senior Member+++++
 
Join Date: Nov 2010
Location: INDIA
Posts: 2,770
Smile Re: Difference between C, C++ and Java?

Quote:
Originally Posted by saranyarameshkumar View Post
Please tell what s the difference between c and c++ and java
  • Actually c is a procedural programming language which cann't face the real world problem.
  • It has some drawback like a global data is shared by all function and if in a large program it is find out difficult that which function uses which data.
  • On the other hand c++ is an object oriented programming language which eliminate some pitfall of conventional or procedural programming language.
  • It is a concept or approach for designing a new software. It is nothing to do with any programming language although a programming language which support the oops concept to make it easier to implement.

This is the main different between c and c++.

and about JAVA
  • Java allows you to play online games, chat with people around the world, calculate your mortgage interest,
  • and view images in 3D, just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
  #4  
26th December 2010, 10:40 PM
RAKESH KUMAR.N
Senior Member+
 
Join Date: May 2010
Location: CHENNAI,INDIA
Posts: 1,107
Default Re: Difference between C, C++ and Java?

*Difference Between C,C++ and Java

-->C is a modular programming language and doesn't have object-oriented features in it.
-->C++ supports both modular and object-oriented features.
-->Java is a completely object-oriented language as it doesn't allow modular programming. In Java every object has to be defined in terms of a class.

-->Programming languages are of two types, namely;
(a). Modular or function-based Programming Language
(b). Object-oriented Programming Language.

(a). Modular Programming Language: A programming language is called Modular if it supports methods. A method or a function is a block or section of code that is logically associated with each other. This section or block of code has got its specific or particular name. Whenever a programmer wants to execute the specific block of code s/he used the name of that particular section or block of code.

(b). Object-oriented Programming Language: A programming language is called Object oriented if it has the support to create or develop classes in it. Class is an abstraction of a real-world object and is used to define the characteristics, qualities and actions performed by the object for which the class is written

Best of luck
Reply With Quote
  #5  
26th December 2010, 10:41 PM
Anusha Bulusu
Junior Member
 
Join Date: Dec 2010
Posts: 14
Default Difference between C, C++ and Java?

Friend,
The question that you have asked is a very common question among the students.Happy that you have posted such query!!
Well,C, C++ and Java are the programming languages.These programming languages are of two types:Modular Programming Language and Object Oriented Programming Language. A language is said to Modular if it is supported by some methods or functions.In such methods,certain codes are linked with each other and each code has a specific name.An example of this type of language is nothing but C
Another type of programming language is an Object oriented programming language in which it has the capability to create or improve classes.Classes describe the behavior of Objects(group of data).Java comes under this category
Whereas C++ supports both the types of Programming languages.
The clear cut comparison of the three languages can be seen in the following page:
http://www.programmersheaven.com/2/FAQ-JAVA-Differences-Between-JAVA-And-C-CPP
Hope,now you get an idea about the differences of these languages!!
Reply With Quote
  #6  
26th December 2010, 11:11 PM
subho19
Senior Member+++
 
Join Date: Oct 2010
Location: Kolkata,W.B,India
Posts: 1,638
Default Re: Difference between C, C++ and Java?

Dear friend,
C is the procedure oriented language,data structure and some graphics programs are devolped by C language...
C++ is a object oriented programming language,which is use to devolop any object oriented program like,windows programming etc...
Java is object oriented as well as procedure oriented language,which is broadly used to devolop computer Games...
Visual basic is an another importent programming language which is use to create any software setup...
Reply With Quote
  #7  
27th December 2010, 12:01 AM
dreksha chaudhary
Senior Member+++
 
Join Date: Oct 2010
Location: offcourse in my home
Posts: 1,721
Thumbs up Re: Difference between C, C++ and Java?

Hi dear '


Well it is very basic question in any interview so i am giving you the complete difference between C,C++,JAVA

1. C :- c langauge is the structured or procedural oriented language, initally c langauge come having so many drawback like not able to support classes ,object and all oop concept so c langauge is not fullfill all concept of object oriented langauge.

2. c++:- To fullfill all drawback of c langauge c++ has been devloped but this langauge is also not fully object oriented .


3. JAVA :- java is fully object oriented langause because it fullfill all the concept oop like ,constrctor,distractor,pointers but c and c++ not support pointers ,

JAVA also support bytecode because these bytecode will run on any computer not on perticular computer that why they are call it as JVM

C and C++ both compile to native machine code but Java generally compiles to Java bytecode.

good luck.
Reply With Quote
  #8  
27th December 2010, 07:10 AM
asahu47
Senior Member+++
 
Join Date: Aug 2010
Location: bhubaneswar
Posts: 1,860
Default Re: Difference between C, C++ and Java?

hii
Difference between C, C++ and Java

C is a structured or procedural oriented language.

C++ is a object oriented language.

And Java is a combination of C and C++.

C and C++ have Supports pointers But JAVA Will not Support Pointers. So, C is geared towards procedural programming.

C and C++ both compile to native machine code but Java generally compiles to Java bytecode.
good luck.
.
Reply With Quote
  #9  
27th December 2010, 01:27 PM
Rudraprasad
Senior Member++
 
Join Date: Feb 2010
Location: Howrah-west Bengal-India
Posts: 1,160
Default Re: Difference between C, C++ and Java?

Both are different programming languages.

C is a Modular,it is supported by some methods or functions, codes.They are linked with each other and each code has a specific name.

C++ is an object oriented programming language and moreover we say it is an advanced and successful verson of Language C.

JAVA is more advanced verson in modern world.JAVA is invented for application tools like washing machines,vacuum cleaner,digital micro oven etc. etc. application tools.Inside the PLC controller is JAVA language.Presently JAVA is used for mobile application,Games etc etc.

All the best.
Reply With Quote
  #10  
27th December 2010, 08:05 PM
pratiktortikar
Junior Member
 
Join Date: Dec 2010
Posts: 31
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by saranyarameshkumar View Post
Please tell what s the difference between c and c++ and java
C is completely a structured programming language.It completely depends on structures,functions linked lists etc..

C++ is also called as an object oriented programming language.Its a newer or next version of C language and completely object oriented.

Java is also known as an object oriented progrmming language.In all the three programming languages Java is the most happening and newer version.This is most advanced programmng language.All the games or grapjics apllications can be done through Java.
Reply With Quote
  #11  
28th December 2010, 09:05 PM
nishant1110
Senior Member
 
Join Date: Dec 2010
Location: Patna, Bihar, India
Posts: 355
Default Re: Difference between C, C++ and Java?

Useful answers by our honourable members; I'd like to add just one thing about JAVA that makes it sort of superior to 'C' & 'C++'

JAVA is based on some principles which include Data abstraction, handling, polymorphism. Overall, the ease of programming that JAVA offers, is quite better than C or C++, because the former requires lesser training. JAVA is actually one step in the series of RAD (Rapid application development) tools so that efficient and powerful applications can be designed with greater ease, involving less number of programmers, and under lesser timeframe. Recent programs like NetBeans IDE for JAVA provide the GUI system while following the classical JAVA command line.
Reply With Quote
  #12  
4th February 2011, 09:37 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is the difference between c ,c & java in proper table?
Reply With Quote
  #13  
4th May 2011, 12:59 PM
Gita Irudhayaraj
Senior Member+
 
Join Date: Apr 2011
Location: Puducherry
Posts: 764
Smile Re: Difference between C, C++ and Java?

hi friend,

C,C++ and Java are all computer languages.

C Language:-->It is procedural language.

-->it is very complicated to do complex programs.
--> So ,we went to object oriented, C++

C++ Language:--> It is object oriented.
--> it supports pointers.
--> IT is to make large applications.
--> Many graphics concept are done in C++.

Java Language:--> It is platform independent. ie) it can run under any operating system.
-->It does not support pointers,and multiple inheritance.
--> But multiple inheritance can be made by other ways.

These are some of the differences between C,C++ and Java.
Reply With Quote
  #14  
21st May 2011, 02:31 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is garbage value?
Reply With Quote
  #15  
22nd May 2011, 10:04 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

WHY JAVADOES NOT SUPPORTS MULTIPLE INHERITANCE? GIVE AN ILLUSTRATION?
Reply With Quote
  #16  
9th June 2011, 05:06 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

in current scenario companies most prefers which language
Reply With Quote
  #17  
28th June 2011, 07:01 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

c is mokka language
Reply With Quote
  #18  
14th July 2011, 10:21 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

difference between C,C and C#
Reply With Quote
  #19  
25th July 2011, 09:20 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

difference between c, c and java
Reply With Quote
  #20  
27th July 2011, 10:55 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

c is a oop lang.It means machine lang.every language has to transfer in machine code right,so how c is not an oop lang.????
Reply With Quote
  #21  
24th August 2011, 01:48 AM
balafederer
Senior Member+
 
Join Date: Jul 2011
Posts: 813
Default Re: Difference between C, C++ and Java?

Hello,

Difference between C++ and java:

1. Java is a purely object oriented program.
2. C++ is a object oriented program.
3. Java has replace the destructor function with a finalize function.
4. Java does not support pointers
5. C++ has Global variables but Java doesn't have.
6. C++ has templates classes but java doesn't have.

Difference C and Java:

1. C is a structure oriented program.
2. Java does not the data type union and struct.
3. Java requires that the functions with number arguments must be declared empty paranthesis and not with the void keyword in C.
4. Java does not have a pre - processor.

Best wishes
Reply With Quote
  #22  
24th August 2011, 10:46 PM
amaan khan ak
 
Join Date: Aug 2011
Location: bikaner
Posts: 579
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by saranyarameshkumar View Post
Please tell what s the difference between c and c++ and java

C is a structured language and its top down approach.
C is a modulator language and its not support object oriented property.Its a top dawn approach.
There are so many drawbacks with the use of C language so its not use now in the market
The programming is also hard as compare to c++ and java language.

C++ is a object oriented language.It support oop characterstics.The programming is easy as compaer to C language.

The last and third one is java programming language which is the best language at present.
Java uses the concepts of both C and C++ languages.
Java use syntax of C language and methods of C++.
Java is a purely object oriented language.its programming is so easy as compare to both the languages.
Reply With Quote
  #23  
12th September 2011, 10:42 AM
manoj rajpurohit
Junior Member
 
Join Date: Feb 2011
Location: Bikaner
Posts: 352
Default Re: Difference between C, C++ and Java?

c is a structured and procedured language. it is the base of all the programming languages.

c is the top to down approach language.

it has no any class and the objects.

c++ is a object oriented language, it is a class based language, all the variables and the function are holded by the class.

it is a bottom to up approach language.

Java is a pure object oriented language, it is fully platform independent language.

java has a very huge field in the software field, it provide a big scope in the IT sector.
Reply With Quote
  #24  
26th September 2011, 09:47 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

Difference between C, C and Java?
Reply With Quote
  #25  
26th September 2011, 09:50 AM
Unregistered
Guest
 
Posts: n/a
Smile Re: Difference between C, C++ and Java?

Quote:
Originally Posted by priyanka_swengg View Post
  • Actually c is a procedural programming language which cann't face the real world problem.
  • It has some drawback like a global data is shared by all function and if in a large program it is find out difficult that which function uses which data.
  • On the other hand c++ is an object oriented programming language which eliminate some pitfall of conventional or procedural programming language.
  • It is a concept or approach for designing a new software. It is nothing to do with any programming language although a programming language which support the oops concept to make it easier to implement.

This is the main different between c and c++.

and about JAVA
  • Java allows you to play online games, chat with people around the world, calculate your mortgage interest,
  • and view images in 3D, just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
kapil jain
Reply With Quote
  #26  
3rd February 2012, 12:43 PM
tuntunia
Senior Member
 
Join Date: Nov 2011
Posts: 462
Default Re: Difference between C, C++ and Java?

Actually c is a procedural programming language which cann't face the real world problem.
It has some drawback like a global data is shared by all function and if in a large program it is find out difficult that which function uses which data.
On the other hand c++ is an object oriented programming language which eliminate some pitfall of conventional or procedural programming language.
It is a concept or approach for designing a new software. It is nothing to do with any programming language although a programming language which support the oops concept to make it easier to implement.

This is the main different between c and c++.

and about JAVA
Java allows you to play online games, chat with people around the world, calculate your mortgage interest,
and view images in 3D, just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
Reply With Quote
  #27  
20th July 2012, 12:57 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by dreksha chaudhary View Post
Hi dear '


Well it is very basic question in any interview so i am giving you the complete difference between C,C++,JAVA

1. C :- c langauge is the structured or procedural oriented language, initally c langauge come having so many drawback like not able to support classes ,object and all oop concept so c langauge is not fullfill all concept of object oriented langauge.

2. c++:- To fullfill all drawback of c langauge c++ has been devloped but this langauge is also not fully object oriented .


3. JAVA :- java is fully object oriented langause because it fullfill all the concept oop like ,constrctor,distractor,pointers but c and c++ not support pointers ,

JAVA also support bytecode because these bytecode will run on any computer not on perticular computer that why they are call it as JVM

C and C++ both compile to native machine code but Java generally compiles to Java bytecode.

good luck.
In third pt. u have given wrong answer. here u have mentioned that c and c++ does not support pointers and java supports pointers. but it is wrong it is vice versa. i.e.
java does not support pointers. c and c++ supports pointers.
Reply With Quote
Do you have any question? or have anything to say?





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