Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

4 key points about Oops

 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was asked this in the interview. I mentioned important points that I knew - like data encapsulation and blah blah.. The interviewer insisted that I choose 4 key points. Which would they be? Moreover, he mentioned that these 4 key points are standard, and one does not need to explain beyond these 4 key points while talking about oops.
Any pointers?
TIA,
- Manish
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
data encapsulation, inheritance, polymorph, etc. - I guess
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Abstraction, Encapsulation, Inheritance, Polymorphism
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, I did mention all these points. In fact, looks like I did reasonablly well in the interview. I just received a mail saying that I'll have an interview with the CTO tonight.
- Manish
[ January 15, 2003: Message edited by: Manish Hatwalne ]
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Encapsulation, Inheritance, Polymorphism, but would abstraction be the fourth? What about the concept of everything is an object?
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is a stateless session bean an object or is it an algorithm?
Has the value of inheritance been proven to be, well shall we say, not all we were lead to believe? Is Joshua Block saying to make your classes final to save yourself and your project?
Has OO proven to be more hype than rubber on the road. Do just as many OO projects fail as structured ones did.
Have we found the holy grail of reuse? I don't thinks so unless your talking about the libraries from Sun. Sure there are exceptions but there were exceptions in structured projects too.
I'm an OO fan but I think I was sold a bill of goods.
 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have always heard of 3 key points, not 4, would be inheritance, encapsulation and polymorphism, but abstraction??? Please explain.
 
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic