#1
10th August 2011, 10:58 PM
|
|||
|
|||
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, 05:59 PM
|
|||
|
|||
Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?
Quote:
Good Luck. |
#3
19th August 2011, 05:27 PM
|
|||
|
|||
Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?
Quote:
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, 11:34 PM
|
|||
|
|||
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 |
#6
27th August 2011, 03:14 AM
|
|||
|
|||
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.
|
#7
30th August 2011, 08:24 PM
|
|||
|
|||
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 |
#8
30th August 2011, 09:42 PM
|
|||
|
|||
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.. |
#10
31st August 2011, 07:38 PM
|
|||
|
|||
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++. |
#11
3rd September 2011, 05:59 PM
|
|||
|
|||
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. |
#12
7th September 2011, 05:40 PM
|
|||
|
|||
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" |
#13
8th November 2011, 05:05 PM
|
|||
|
|||
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. |
#16
17th August 2012, 02:02 PM
|
|||
|
|||
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 |
#18
26th September 2012, 12:43 PM
|
|||
|
|||
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 |
#19
2nd August 2013, 12:43 PM
|
|||
|
|||
Re: Is Java Purely object oriented language? Difference between Java and C+? Which one is better?
Quote:
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. |
|