Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java 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)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2008, 02:36 PM
Member
 
Join Date: Jun 2008
Posts: 35
MarkWilson is on a distinguished road
is java 100%
see dear friends ,

actually java is not 100%pure oo language because of Primitive data types

and we can use the Wrapper class in java to use Primitive data types

so as compare with the C++ how u can say that " C++ is object oriented pure and Java is not "

please maintain some example so ican clear my dought?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-27-2008, 02:46 PM
Senior Member
 
Join Date: Jun 2008
Posts: 327
masijade is on a distinguished road
They both have primitives so neither are 100% "pure" OO, and that straight C code can be compiled within C++ (at least under certain circumstances) is a pretty good indicator that Java is more and not less OO than C++.

But, as already said, it is a silly question as there is no established "purity" standard anyway.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-27-2008, 09:16 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 581
Nicholas Jordan is on a distinguished road
Pure is unachievable
Big discussions ensue on this issue, sometimes resulting in useful work but to say that Java, or any other language for discussion, is or is not Pure OO is somewhat perplexing to me: What about the actual code that drives the computing engine? If a design tool achieves effectiveness in coding, that is because the coder has given thought to the problem domain and how to go about getting useful results in the area. OO does not write code, you do. The idea of encapsulation and so on have proven their value to me in examining code designs, after I have gotten someting to work.

For me, the problem naturally makes it's own solution available. Then later I get somewhat stuck and consider the design ideas presented by OO but not before putting some code up. We may put up stubbs as a notational matter, but even on back of envelope brainstorming I tend to write raw code directly. There may be effective discussions on what is Pure OO and adherents may cite those, but there are no absolutes.
__________________
Please provide your feedback on our
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-28-2008, 05:58 AM
Senior Member
 
Join Date: Jun 2008
Posts: 462
Fubarable is on a distinguished road
Yep, it's a pretty irrelevant statement by the OP. Who cares as long as it works?
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-28-2008, 07:30 AM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 359
fishtoprecords is on a distinguished road
IMHO, "pure OO" is a religious discussion, and I'm an engineer, not a theologian.

Smalltalk is a pure OO language. Java has roots in C, which were needed to encourage C programmers to even consider it.

At times, I wish we could get rid of them, things like 'int', 'float' and the baggage they need. But then it would not be Java.

I expect that something like Java, probably using the JVM, will come along and be more OO, or not have the crutches of C. Perhaps scala will take off. Perhaps something else.

But in the meantime, I write code.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +3. The time now is 04:41 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org