This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes static concept in Java really kill object oriented concept Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "static concept in Java really kill object oriented concept" Watch "static concept in Java really kill object oriented concept" New topic
Author

static concept in Java really kill object oriented concept

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
I read some article ,it says static concept in Java really kill object oriented concept,then why this feature still exist in java???.IT is used for utility class is less priority!!!
[ November 20, 2008: Message edited by: jacob deiter ]
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9948
    
    6

What do you mean by "kills object oriented concept"?

To me, this is a sort of theoretical debate, along the lines of "pure oo". Depending on how you want to define the terms, Java is or is not OO. The same goes for C++ and most other languages you could name.


Never ascribe to malice that which can be adequately explained by stupidity.
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
The Java lanuguage supports non-object-oriented design and code as well. Everything is not "automatically" OO simply because it was written in Java.

I have seen "extremely anti-object-oriented" servlets with everything in the world (100's of statements) crammed in its service() method.

I would say, using "static" in certain places might be considered anti-OO design. Using it in other places might not be so bad. It depends on how and where it is used.
[ November 20, 2008: Message edited by: James Clark ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: static concept in Java really kill object oriented concept
 
Similar Threads
java -A pure OOPS?
Is java is purely object oriented or not?
Java object based or object oriented
Object oriented concepts in Java
Object oriented concept