Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

is java is a..

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....

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-23-2007
Contributing Member
 
Join Date: May 2007
Location: Chennai
Posts: 34
Thanks: 0
Thanked 5 Times in 4 Posts
samineni6 is on a distinguished road
Smile is java is a..

hello

is java is a pure object oriented programming language ?
if not why ?

can any one explain briefly please.
Reply With Quote
The Following User Says Thank You to samineni6 For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 05-23-2007
Expert Member
 
Join Date: Dec 2006
Location: Chennai
Posts: 210
Thanks: 2
Thanked 17 Times in 15 Posts
Barbie is on a distinguished road
Re: is java is a..

Java allows static variables, that can be accessed without objects.
so its not 100% object oriented.
Reply With Quote
  #3 (permalink)  
Old 05-23-2007
Contributing Member
 
Join Date: May 2007
Location: Chennai
Posts: 34
Thanks: 0
Thanked 5 Times in 4 Posts
samineni6 is on a distinguished road
Smile Re: is java is a..

can any one explain by taking the example of primitive datatypes ?
Reply With Quote
  #4 (permalink)  
Old 05-24-2007
Junior Member
 
Join Date: May 2007
Location: Hyderabad
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
swapnamarri is on a distinguished road
Re: is java is a..

Quote:
Originally Posted by samineni6 View Post
hello

is java is a pure object oriented programming language ?
if not why ?

can any one explain briefly please.
java claims to be a pure object oriented programming lang. but,actually it doesn't supports all features of oops.
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
Reply With Quote
  #5 (permalink)  
Old 05-28-2007
Expert Member
 
Join Date: Oct 2005
Location: india,cochi,bangalore
Posts: 395
Thanks: 2
Thanked 9 Times in 8 Posts
vmshenoy is on a distinguished road
Re: is java is a..

Quote:
Originally Posted by Barbie View Post
Java allows static variables, that can be accessed without objects.
so its not 100% object oriented.
Also multiple inheritance is not implemented in java.
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 05:02 AM.
Reply With Quote
  #6 (permalink)  
Old 06-07-2007
Junior Member
 
Join Date: May 2007
Location: Mysore
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
umeshap is on a distinguished road
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
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Why JAVA is NOT sudeep.goel Java 13 09-02-2009 09:49 AM
How to test java project in QTP without java addin Geek_Guest QTP 12 08-29-2009 11:55 PM
before JAVA Timir Career Advice 1 12-18-2007 07:18 AM
Java rajesh.tripathi Java 2 04-26-2007 06:35 AM
Java over C++ Manojks OOPS 3 02-20-2007 10:11 PM


All times are GMT -4. The time now is 08:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved