Prepare for your Next Interview
This is a discussion on is java is a.. within the Java forums, part of the Software Development category; hello is java is a pure object oriented programming language ? if not why ? can any one explain briefly please....
|
|||
|
hello
is java is a pure object oriented programming language ? if not why ? can any one explain briefly please. |
| The Following User Says Thank You to samineni6 For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: is java is a..
Quote:
For example Object-Oriented language should have: All pre-defined types are Objects but by its inclusion of "basic" types that are not objects, it fails to meet this quality so, java is not a pure object oriented language .It is a hybrid language A "hybrid" language may support some of the qualities of oops, but not all. ok i'm givining oop's concepts also here 1.Encapsulation/Information Hiding 2.Inheritance 3.Polymorphism/Dynamic Binding 4.All pre-defined types are Objects 5.All operations performed by sending messages to Objects 6.All user-defined types are Objects Among all these java doesn't supports 4th and 5th concepts of oops |
|
|||
|
Re: is java is a..
Quote:
also the declaration of variables, i.e primitive data types are used(which is other reason it is not object oriented THOUGH Wrapper classes are used to solve this issue) I hop u r getting me (w.r.t primitive data types)
__________________
:) NEVER SAY DIE. Last edited by vmshenoy : 05-28-2007 at 06:02 AM. |
|
|||
|
Re: is java is a..
Java is not a pure object oriented language.
i can say 99% object oriented programming langauge . because it supports primitive data types . like int ,long , double... etc |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why JAVA is NOT | sudeep.goel | Java | 11 | 3 Weeks Ago 12:19 PM |
| before JAVA | Timir | Career Advice | 1 | 12-18-2007 08:18 AM |
| How to test java project in QTP without java addin | Geek_Guest | QTP | 7 | 09-18-2007 07:53 AM |
| Java | rajesh.tripathi | Java | 2 | 04-26-2007 07:35 AM |
| Java over C++ | Manojks | OOPS | 3 | 02-20-2007 11:11 PM |