#1  
10th August 2011, 09:58 PM
swathidn
 
Join Date: Aug 2011
Posts: 1

Is Java Purely object oriented language? Difference between Java and C+? Which one is better?


is java is purely object oriented language?
what is the difference between java & c#?which one is better?




  #2  
14th August 2011, 04:59 PM
Bmsri
Senior Member
 
Join Date: Aug 2011
Posts: 327
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Quote:
Originally Posted by swathidn View Post
is java is purely object oriented language?
what is the difference between java & c#?which one is better?
Yes java is a purely object oriented programming language.It was created in order to over come the programming difficulties in c++.programming in java is easy and very efficient when compared to c++.so it is always better to learn java but c++ is a fundamental of programming,so it will be tough for you to study java without studying c++.
Good Luck.
  #3  
19th August 2011, 04:27 PM
amaan khan ak
 
Join Date: Aug 2011
Location: bikaner
Posts: 579
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Quote:
Originally Posted by swathidn View Post
is java is purely object oriented language?
what is the difference between java & c#?which one is better?
yes java is a purely object oriented language.java ans c++ is almost similar languages.c++ is a funfamental language so its programming is typical and hard as compare to java.java use the syntax of c language and methods of c++ language.
c++ is also a object oriented language.but its not portable,easy,platform independent as java.
so this is the main diffrence between java and c++.
java programming is the easiest programming in all languages.

hope u get ur answer.

regards
amaan
  #4  
19th August 2011, 10:34 PM
Sehwag6
Senior Member
 
Join Date: Jul 2011
Posts: 490
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

both c++ and java are good object oriented languages.

it is the easy platform for programming.

but java is something hard platform to write programs

c++ is the basic of c
Reply With Quote
  #5  
26th August 2011, 09:36 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Is Java Purely object oriented language? Difference between Java and C ? Which one is better?

difference between java and object oriented?
Reply With Quote
  #6  
27th August 2011, 02:14 AM
ANIAAAAANNNNNIIIII00000
Senior Member
 
Join Date: Aug 2011
Posts: 487
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Yes java is purely object oriented language, difference between java and C++ is , Java is platform independent while C++ is not.
Reply With Quote
  #7  
30th August 2011, 07:24 PM
balafederer
Senior Member+
 
Join Date: Jul 2011
Posts: 813
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Hello,

Yes, java is purely object oriented language.

Difference between c++ and Java:

* There are no header files in java where as c++ have.
* Java doesn't support operator overloading
* Java doesn't have template class has in C++
* Java doesn't support multiple Inheritance.
* Java doesn't support Global Variables.
* Java doesn't use the Pointers where as c++ have.
* Java has replace Destructor function with a finalized function.

Both are very important if you know c++ then java is very easy . C++ is a object oriented program.

Best wishes
Reply With Quote
  #8  
30th August 2011, 08:42 PM
tanmayeetripathy
Senior Member
 
Join Date: Aug 2011
Posts: 297
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Yes , java is purely and complete object oriented language due to the absence of global scope.everything in java is an object. All program code nad data reside within objects and classes.
-java comes an extensive set of classes, arranged in packages, that we in our programs by inheritance.
-the object model in java in sample and easy to extend.
-java is a secured language because it doesn’t use pointers.


Diference between java and c++ is 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”.


-it is ovious java is better because it is complete object oriented, simple and secured language.

Good luck..
Reply With Quote
  #9  
31st August 2011, 02:15 AM
divyanakra
Senior Member+
 
Join Date: Jul 2011
Posts: 505
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

yes java is purely object oriented language and in comparison of c+ and java i must say that java is better.
Reply With Quote
  #10  
31st August 2011, 06:38 PM
nambardar
Senior Member+
 
Join Date: Jul 2011
Location: bikaner
Posts: 881
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Yes java is a purely object oriented programming language.It was created in order to over come the programming difficulties in c++
c++, class specifier is terminated by ‘; ‘ wheras in java class specifier are not terminated by’;’
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++.
Reply With Quote
  #11  
3rd September 2011, 04:59 PM
manoj rajpurohit
Junior Member
 
Join Date: Feb 2011
Location: Bikaner
Posts: 352
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Yes java is a pure object oriented language. c++ had many drawbacks so java is developed.
c++, no concept of multithreading wheras in java presence of multi threading.
the main difference between java and c+ that java is a platform independent language and c++ is a platform dependent language.
now what is this plate form independent language then i want to tell you that when a java source code is created in the not pad or command prompt then we have to compile and interpret it separately. after compiling this a .class is generated(here class is name of the class in which the main function is created). this .class file is known as byte code.
this byte code is responsible for the platform independent of java. this byte code can be run on other system or operating system.
so this is the main difference.
Reply With Quote
  #12  
7th September 2011, 04:40 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Is Java Purely object oriented language? Difference between Java and C ? Which one is better?

According to my knowledge java is not pure object oriented programming language because it allows to write programs with the help of integers which i present in Control Statements.These things are derived from some other languages like c,c .So pure Object-Oriented means every thing should be "OBJECT" only.
EXAMPLE for PURE object oriented language is "SMALL TALK"
Reply With Quote
  #13  
8th November 2011, 04:05 PM
manas.europhia
Senior Member++
 
Join Date: Mar 2011
Location: Qr.No.- FR-99/8 ,SAILASHREE VIHAR , CHANDRASEKHAR PUR , BHUBANESWAR, ORISSA, PIN - 751021.
Posts: 1,540
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Yes, java is purely object oriented language.

Difference between c++ and Java:

* There are no header files in java where as c++ have.
* Java doesn't support operator overloading
* Java doesn't have template class has in C++
* Java doesn't support multiple Inheritance.
* Java doesn't support Global Variables.
* Java doesn't use the Pointers where as c++ have.
* Java has replace Destructor function with a finalized function.

Both are very important if you know c++ then java is very easy . C++ is a object oriented program.
Reply With Quote
  #14  
2nd January 2012, 11:02 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Is Java Purely object oriented language? Difference between Java and C ? Which one is better?

how can we say that java is an example of pure object oriented programming?
Reply With Quote
  #15  
27th January 2012, 08:37 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Is Java Purely object oriented language? Difference between Java and C ? Which one is better?

java and c both are object oriented follow the concept of inheritence,polymorphism,encaptulation.etc then why java called pure object oriented ,c not?
Reply With Quote
  #16  
17th August 2012, 01:02 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Is Java Purely object oriented language? Difference between Java and C ? Which one is better?

Is Java Purely object oriented language?
no,As in C and some other object-oriented languages, variables of Java's primitive data types are not objects. Values of primitive types are either stored directly in fields (for objects) or on the stack (for methods) rather than on the heap, as commonly true for objects (but see Escape analysis). This was a conscious decision by Java's designers for performance reasons. Because of this, Java was not considered to be a pure object-oriented programming language
Reply With Quote
  #17  
25th September 2012, 10:57 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Is Java Purely object oriented language? Difference between Java and C ? Which one is better?

what is the difference between object oriented and pure object oriented programming language.
Reply With Quote
  #18  
26th September 2012, 11:43 AM
sampathkumar29
Senior Member+++++
 
Join Date: Dec 2010
Posts: 2,992
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

James gosling , patrick naughton , chris warth , mike sheridan & ed frank created java at sun microsystem in 1991
Java was the need for a platform independent language

Difference between java and c :

C was designed to be compiled
C is platform dependent
It does not use classes
Th does not implement the object oriented model
It does not employ abstraction mechanism
It does not employ polymorphism
All applications must have a main() method

Java :

Java was designed to interpreted
Java is platform independent
It does urdualarses
Th employs abstraction mechanism
It employs polymorphism
Only stand alone application must have main () method
Reply With Quote
  #19  
2nd August 2013, 11:43 AM
midhunarmid
Guest
 
Posts: n/a
Default Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?

Quote:
Originally Posted by manas.europhia View Post
Yes, java is purely object oriented language.

Difference between c++ and Java:

* There are no header files in java where as c++ have.
* Java doesn't support operator overloading
* Java doesn't have template class has in C++
* Java doesn't support multiple Inheritance.
* Java doesn't support Global Variables.
* Java doesn't use the Pointers where as c++ have.
* Java has replace Destructor function with a finalized function.

Both are very important if you know c++ then java is very easy . C++ is a object oriented program.
How can we say that Java is 'purely' an Object Oriented language..?? Java uses primitive data types like int, boolean, double, etc... They are not objects of any class.

But comparing Java with C++, we can say that Java is more OO than C++, just because Java requires minimum of one class and it runs with the object of that class. We cant write a running Java program without using at least one Class while in C++ it is possible to write and run programs which don't require a Class.
Reply With Quote
Do you have any question? or have anything to say?





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: