• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

oops concept

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can anyone explain what is oops concept?
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Please go through the link.
http://java.sun.com/docs/books/tutorial/java/concepts/
Regards,
Kiran.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by manas ranjan mandal:
can anyone explain what is oops concept?



oop's bject oriented programming's concept.

having 4 major properties:
polymorphism : Takes more than one form [runtime,compile time]
Abstraction : Hiding the data [objects]
Inheritance : inheriting the properties of another class/interface
Encapsulation: Data binding [access modifiers]
[ May 15, 2008: Message edited by: Campbell Ritchie ]
 
Marshal
Posts: 79667
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
welcome to the Ranch, Subbu Palisetty.

I have edited your post with the "disable smilies" box otherwise you had a stray
 
Campbell Ritchie
Marshal
Posts: 79667
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The object-oriented paradigm works on the basis that "objects" have both data (fields) and behaviour (methods) and the "behaviour" operates on the "data." In OO programming we pass messages (method calls) from one object to another which initiate the "behaviour."
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Campbell Ritchie:
The object-oriented paradigm works on the basis that "objects" have both data (fields) and behaviour (methods) and the "behaviour" operates on the "data." In OO programming we pass messages (method calls) from one object to another which initiate the "behaviour."



And a very important part is that different objects can react to the same message with different behavior. (Also known as Polymorphism.)
 
Author
Posts: 3473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator



Q. What are the advantages of Object Oriented Programming Languages (OOPL)?
A. The Object Oriented Programming Languages directly represent the real life objects like Car, Jeep, Account, Customer etc. The features of the OO programming languages like polymorphism, inheritance and encapsulation make it powerful. [Tip: remember pie which, stands for Polymorphism, Inheritance and Encapsulation are the 3 pillars of OOPL]




Q. How does the Object Oriented approach improve software development? DC
A. The key benefits are:

Re-use of previous work: using implementation inheritance and object composition.
Real mapping to the problem domain: Objects map to real world and represent vehicles, customers, products etc: with encapsulation.
Modular Architecture: Objects, systems, frameworks etc are the building blocks of larger systems.

The increased quality and reduced development time are the by-products of the key benefits discussed above. If 90% of the new application consists of proven existing components then only the remaining 10% of the code have to be tested from scratch.

 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by arulk pillai:
Real mapping to the problem domain



In my opinion, this is a (common) misunderstanding of what OO is about. Uncle Bob has a (funny) blog entry about this: http://www.artima.com/weblogs/viewpost.jsp?thread=37870
 
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic