Thread: Difference between C, C++ and Java? Reply to Thread

Your Username: Click here to log in
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options

Miscellaneous Options

Topic Review (Newest First)

23rd June 2012 11:20 PM
navjotsidhupamal
Re: Difference between C, C++ and Java?

hi friend..!!
there is the Difference between C++ and Java:

1. C++ is object oriented programming.
2. Java is a purely object oriented program
3. Java does not support Global variables where as c++ support global variables.
4. Java does not use the pointers and there are pointers be used in c++.
5. Java does not support operator overloading whereas c++ use both function and operator overloading.
6. Java does not have template classes whereas c++ has templates.


Difference between C and Java:

1. C is a structure oriented program.
2. Java does not support explicit pointer type where as in c,there are explicit pointers .
3. Java does not define the type modifiers keywords auto,extern,register,signed & unsigned.

Best wishes...!!navjot
3rd February 2012 09:20 PM
Unregistered
Re: Difference between C, C and Java?

in the above questions it is written that c is a procedure qriented language n structure oriented language which is crct wheather it is procedure or structure oriented
3rd February 2012 03:47 PM
tuntunia
Re: Difference between C, C++ and Java?

There is a big diffrence in among c,c++ and java

1.C is a structured language and its a platform dependent language it means the executable code cant be run on other operating system.Its the first language among in all three.The programming is hard as compare to c++ and java.C has top down approach.

2.c++ is also a very good language.its the advanced version of C language.Its also platform dependent language.C++ is an object oriented language.

3.The last one is java.Java is a very good language and its a growing language.There are many jobs are present for java programmer.java is a purely object oriented language.it means all functions are called with the help of class and objects.java is a very easy,robust,secure,portable language and easy to learn as compare to other languages.
29th November 2011 11:59 PM
venkataprakash.v
Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
what is the difference between c language and java language?
Difference between c language and java language :-

>>>>C is a Structure Oriented Programming

>>>>Java is a purely object oriented programming.

>>>>C defined the keywords like Signed,auto,extern,register and unsigned.

>>>>Java does not defined the type modifier keywords auto,extern,register,signed and unsigned.

>>>>C language have a pre-processor like # define,#include,#ifdef.

>>>>Java does not have a Pre-process(# define,#include,#ifdef).

>>>>Java does not contain the data types Struct and Union but C contain the data types Struct and Union.

>>>>C support an explicit pointers but java does not support the explicit pointers.

>>>>Java requires that the functions with no arguments must be declared empty paranthesis and not with the void keyword in C.
29th November 2011 09:01 PM
gauri2011
Re: Difference between C, C++ and Java?

Quote:
Originally Posted by VENGADESH22 View Post
Difference between C, C++ and Java?....can you please list out some of the basic differences
Dear Friend,

C language is a procedure oriented language which do not facilitate the property like data hiding,inheritance,overloading of functions and operator.

Whereas C++ and Java is object oriented language and these language have properties like data hiding, inheritance, overloading of functions or method and operator.

Java support networking whereas c and c++ does not.

Java support Web Application bur c and c++ does not.
28th November 2011 08:31 PM
Unregistered
Re: Difference between C, C and Java?

what is the difference between c language and java language?
10th November 2011 09:15 PM
Unregistered
Re: Difference between C, C and Java?

i want to first of all in main difference define a part or group
8th November 2011 05:08 PM
manas.europhia
Re: Difference between C, C++ and Java?

Difference between C++ and Java:

1. C++ is object oriented program.
2. Java is a purely object oriented program
3. Java does not support Global variables
4. Java does not use the pointers
5. Java does not support operator overloading
6. Java does not template classes as in C++.
7. Java has replaced the destructor function with a finalize function.

Difference between C and Java:

1. C is a structure oriented program.
2. Java does not support explicit pointer type.
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 define the type modifiers keywords auto,extern,register,signed & unsigned.
8th November 2011 05:00 PM
manas.europhia
Re: Difference between C, C++ and Java?

The difference between between c and c :
c is structure oriented.c is object oriented
c use printf and scanf but in c we use cin and cout
memory is allocated by using malloc() and dealloc(); but c use new and delete for memory allocation.
c is Top-down apporach: c is bottom down apporach
c use struct ,union but not c
4th November 2011 07:15 PM
Unregistered
Re: Difference between C, C and Java?

what is orientation of an object in java and c on c lauguage?
20th October 2011 02:19 PM
Unregistered
Re: Difference between C, C and Java?

What is an object and a class?
17th October 2011 02:10 AM
Unregistered
Re: Difference between C, C and Java?

why java does not use pointer
20th September 2011 05:25 PM
hrushi614
Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
which is the easy language to learn?
hi friend,


C is a easy language to learn because it is only structure programming contains basic functions. Where as c++, java are object oriented languages.

In c++, java there are classes, objects, polymorphysm which are difficult to learn
6th September 2011 01:19 AM
manoj rajpurohit
Re: Difference between C, C++ and Java?

c is a platform dependent language. and it is not an object oriented language. c is a structural language.c is comical up to down approach. It consists the pointer for allocating the memory.

c++ is an object oriented language. this language uses the class for hold the variables and the functions.

java is a pure object oriented language. it is an platform independent language, means it generates the .class file after compiling the source code which is known as the byte code.this is potable file, and can run in any operating system. it never consist the pointer and never have the multiple inheritance.
5th September 2011 05:54 PM
Unregistered
Re: Difference between C, C and Java?

what are the interfaces in the c language
5th September 2011 01:54 AM
Unregistered
Re: Difference between C, C and Java?

The difference between between c and c :
c is structure oriented.c is object oriented
c use printf and scanf but in c we use cin and cout
memory is allocated by using malloc() and dealloc(); but c use new and delete for memory allocation.
c is Top-down apporach: c is bottom down apporach
c use struct ,union but not c
30th August 2011 09:35 PM
tanmayeetripathy
Re: Difference between C, C++ and Java?

JAVA IS NOT LIKE C BUT THE MAJOR DIFFERENCE BETWEEN JAVA AND C IS AS FOLLOWS:-

• JAVA IS COMPLETE OBJECT ORIENTED LANGUAGE AND HAS MECHANISM TO DEFINE CLASSES AND OBJECTS.WHERAS C DOESN’T .


• JAVA DOES NOT SUPPORT AN EXPLICIT POINTER TYPE AS IN C++.

• JAVA ADDS LABELLED “BREAK” AND “CONTINUE” STATEMENTS WHERAS C DOES NOT.


• JAVA ADDS NEW OPERATORS SUCH AS ‘INSTANCEOF’ AND ‘>>>’ WHERAS C DOES NOT.

• JAVA DOES NOT SUPPORT ANY MECHANISM FOR DEFINING VARIABLE ARGUMENTS TO FUNCTIONS.


The major difference between java and c++ is as follows:-

• IN C++ PRESENCE OF POINTER, REFERENCING AND DEREFERENCING OPERATOR WHILE ABSENCE OF POINTER AND THESE OPERATORS ON JAVA.

• IN C++, CHARACTER TAKE 1 BYTE AND SUPPORTS ASCII CHARACTER WHILE IN JAVA CHARACTER SUPPORTS 2 BYTES AND SUPPORTS UNICODE.


• IN C++, CLASS SPECIFIER IS TERMINATED BY ‘; ‘ WHERAS IN JAVA CLASS SPECIFIER ARE NOT TERMINATED BY’;’

• IN C++, NO CONCEPT OF MULTITHREADING WHERAS IN JAVA PRESENCE OF MULTI THREADING.


• C++ SUPPORTS OPERATOR OVARLOADING WHERAS JAVA,SUPPORTS OPERATOR OVERLOADING.

• JAVA DOES NOT HAVE TEMPLATE CLASSES AS IN C++.


• THERE IS NO HEADER FILES IN JAVA AS IN C++.

• C++ SUPPORTS MULTIPLE INHERITANCE WHERAS JAVA DOESN’T SUPPORT IT.IN JAVA THIS IS ACCOMPLISHED USING A NEW FEATURE CALLED “INTERFACE”.

GOOD LUCK…
27th August 2011 02:57 AM
ANIAAAAANNNNNIIIII00000
Re: Difference between C, C++ and Java?

Dear friend,
C is an procedure oriented language while other two are object oriented language. C and C++ are platform dependent while Java is platform independent.These are two major difference among these three languages.
26th August 2011 10:57 PM
Unregistered
Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
why java is platform independent language but c,c are not platform independent language????

the main difference comes at using of Java Virtual Machine. c, c++ doesnt use JVM.
JVM converts the source code into byte code and byte code into user understandable code.

the byte code which is generated by JVM can be run on any platform. so only java is platform independent.
23rd August 2011 02:45 AM
sandipk
Re: Difference between C, C++ and Java?

--> C is a structured based language, where as C++ is a object oriented language and thats of java also support the OOPs concept.

--> In C++ the advance features added like:class, object,abstraction,inheritance,polymerphism,encaps ulation etc. , and java also,
but C does not have these concept.

--> in C the memory allocated to the variable is at the time of declaration but in C++ the memory allocated by system at the time of object creation only.

--> now a days java is using broadly in frontend designing for it's advantages feature , it is developed by SUN Microsystem.

For more you can reffer the text books also..
....~~~
22nd August 2011 10:12 PM
Unregistered
Re: Difference between C, C and Java?

why java is platform independent language but c,c are not platform independent language????
22nd August 2011 03:02 AM
amaan khan ak
Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
which is the easy language to learn?
If u work hard for a perticular language then u can easily learn any type of language.there are many options for you to choose right language.
many programming languages are very good languages for future preference.

Java
.Net
Php
Orracle

These are some languages which have many scope for future.

I suggest u for java.Java is a very good language and easy to learn.Java takes less time to learn as compare to other languages.so do work hard.u'll get success.

all the best
22nd August 2011 02:50 AM
amaan khan ak
Re: Difference between C, C++ and Java?

Quote:
Originally Posted by VENGADESH22 View Post
Difference between C, C++ and Java?....can you please list out some of the basic differences
There is a big diffrence in among c,c++ and java

1.C is a structured language and its a platform dependent language it means the executable code cant be run on other operating system.Its the first language among in all three.The programming is hard as compare to c++ and java.C has top down approach.

2.c++ is also a very good language.its the advanced version of C language.Its also platform dependent language.C++ is an object oriented language.

3.The last one is java.Java is a very good language and its a growing language.There are many jobs are present for java programmer.java is a purely object oriented language.it means all functions are called with the help of class and objects.java is a very easy,robust,secure,portable language and easy to learn as compare to other languages.
21st August 2011 01:15 AM
balafederer
Re: Difference between C, C++ and Java?

Hello,

Difference between C++ and Java:

1. C++ is object oriented program.
2. Java is a purely object oriented program
3. Java does not support Global variables
4. Java does not use the pointers
5. Java does not support operator overloading
6. Java does not template classes as in C++.
7. Java has replaced the destructor function with a finalize function.

Difference between C and Java:

1. C is a structure oriented program.
2. Java does not support explicit pointer type.
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 define the type modifiers keywords auto,extern,register,signed & unsigned.

Best wishes
20th August 2011 02:25 PM
Unregistered
Re: Difference between C, C and Java?

what is difference between multidimensional array in c and c and java
28th July 2011 01:52 PM
Unregistered
Re: Difference between C, C and Java?

what is difference between c c program and java program
25th July 2011 10:37 PM
Unregistered
Re: Difference between C, C and Java?

which is the easy language to learn?
4th June 2011 02:33 AM
VENGADESH22
Difference between C, C++ and Java?

Difference between C, C++ and Java?....can you please list out some of the basic differences

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



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.