Tuesday, May 18, 2010

Java is not a Pure Object Oriented Language






Theoretical a Pure Object Oriented Language must contains all entities as in the form of Object. There could be two categories of OOPL :
1) Hybrid OO languages :
Hybrid languages are based on some non-OO model that has been enhanced with OO concepts. e.g. C++, ancestor was C, may be more...

2) Pure OO languages
Pure OO languages are based entirely on OO principles; Smalltalk, Java, and Simula are pure OO languages.

But Due to following reasons Java can't be considered as Pure OOPL:
1) Java violates principle "Everything must be Object". Java has primitive types int, long etc.
2) static works on class level.
3) Multiple inheritance is not supported.
4) Operator overloading is not supported.

BTW Java never claimed to be "Pure OOPL".

9 comments:

  1. Interesting!!
    Thank you for sharing this informative article.

    ReplyDelete
  2. hi,
    Can you tell me what is difference between TYPE_SCROLL_INSENSITIVE and TYPE_SCROLL_SENSITIVE
    ResultSet.

    ReplyDelete
  3. @Jay : Will write something very soon..

    ReplyDelete
  4. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts, have a nice weekend!


    Java Training in Chennai


    Java Training in Bangalore


    Java Training in Bangalore

    ReplyDelete
  5. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.

    Best Java Training Institute Chennai

    ReplyDelete
  6. This is a solid foundation tutorial that still holds up for understanding the core concepts of custom adapters and row layouts. The step-by-step breakdown of how SimpleAdapter ties the data source to the UI components is exactly what new Android developers need to see. For mobile developers in Electronic City who want to add data analytics to their skillset, I recently enrolled in data analytics with python training electronic city to start processing and visualizing user behavior data from our apps. The same methodical approach you use here—defining requirements, structuring data, binding it to views—carries over directly to analytics workflows. Do you recommend any specific tools for capturing and analyzing ListView click patterns in production apps?

    ReplyDelete