Geeks Talk

Prepare for your Next Interview




OOPS concept.....

This is a discussion on OOPS concept..... within the OOPS forums, part of the Software Development category; What is the main reason to design the OOPS concept ? One of my friend told me "OOPS Designed mainly for Maintenance". Is it true ? or any other reason ...


Go Back   Geeks Talk > Software Development > OOPS

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-03-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 76 Times in 64 Posts
psuresh1982 will become famous soon enough
OOPS concept.....

What is the main reason to design the OOPS concept ?

One of my friend told me "OOPS Designed mainly for Maintenance". Is it true ?
or any other reason behind this ?

--------------------
suresh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-03-2007
Junior Member
 
Join Date: Jul 2006
Location: Chennai
Posts: 4
Thanks: 0
Thanked 3 Times in 1 Post
sathish9274 is on a distinguished road
Re: OOPS concept.....

OOPS uses abstraction, including Modularity,Polymorphism and encapsulation.This promotes greater flexibility and maintainability
Reply With Quote
  #3 (permalink)  
Old 01-03-2007
Expert Member
 
Join Date: Sep 2006
Location: Bengalooru (Formerly called Bangalore), India
Posts: 486
Thanks: 2
Thanked 28 Times in 27 Posts
kalayama is on a distinguished road
Re: OOPS concept.....

OOPS for Maintainance is quite an unfair comment.OOPS came into picture because of the necessitry to bind data and functionality together in a secure way.

We don't want our data to be accessible by everybody, we want it to be accessed by a few pieces of code which is written by us. We can manipulate data only though these defined rules.

You can refer any C++ introduction book. You will come to know more.

-Kalayama
__________________
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]

Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
Reply With Quote
  #4 (permalink)  
Old 01-05-2007
Expert Member
 
Join Date: Oct 2005
Location: india,cochi,bangalore
Posts: 395
Thanks: 2
Thanked 8 Times in 7 Posts
vmshenoy is on a distinguished road
Re: OOPS concept.....

Refer "Robert Lafore" book.I feel that this book is very good for those who wan to gain knowledge of OOPS concept.

bye
__________________
:)
NEVER SAY DIE.
Reply With Quote
  #5 (permalink)  
Old 01-05-2007
Expert Member
 
Join Date: Sep 2006
Location: Bengalooru (Formerly called Bangalore), India
Posts: 486
Thanks: 2
Thanked 28 Times in 27 Posts
kalayama is on a distinguished road
Re: OOPS concept.....

Well, Robert Lafore is for very very beginners to programming. Stanely Lippman's "C++ Primer" is "The Book" for C++ programmers.

-Kalayama
__________________
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]

Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
Reply With Quote
  #6 (permalink)  
Old 01-05-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 76 Times in 64 Posts
psuresh1982 will become famous soon enough
Re: OOPS concept.....

Thanks to all...I fight(using words only) with my friend using your points....

----------------
suresh
Reply With Quote
  #7 (permalink)  
Old 03-03-2007
Junior Member
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
riteshkmirche is on a distinguished road
Re: OOPS concept.....

OOPS stands for Object oriented programming concept.
It basically designed on principle like Abstraction,Encapsulation,Polymorphism,Inheritance.
Abstraction-The ability of programmatic objects to represent real-world objects is called abstraction.
Encapsulation-Encapsulation is the concept that implementation of an object is independent of its interface.
Polymorphism-Polymorphism is the ability of different classes to provide different implementations of the same public interfaces.
Inheritance-For reusablily,such as using used functionaliy from existing one.

Last edited by riteshkmirche : 03-03-2007 at 03:47 AM.
Reply With Quote
  #8 (permalink)  
Old 05-10-2007
Junior Member
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
shahnawazbabar is on a distinguished road
Re: OOPS concept.....

very easy question
if i understand it well
concept off oop came from electronics, in electronics we make some plant or model through which we make circuits of same type time and again
so y we dont make our code like that we can use it time and again
for example if we make class of eye
then we can use it at manay places
like human eye
animal eye
any where
so as if u make a class tyre then object of it u can use again and again! "but class shud be generic and generel or adt
"
Reply With Quote
  #9 (permalink)  
Old 05-11-2007
Contributing Member
 
Join Date: Mar 2007
Posts: 43
Thanks: 1
Thanked 2 Times in 2 Posts
varmakub is on a distinguished road
Smile Re: OOPS concept.....

Quote:
Originally Posted by riteshkmirche View Post
OOPS stands for Object oriented programming concept.
It basically designed on principle like Abstraction,Encapsulation,Polymorphism,Inheritance.
Abstraction-The ability of programmatic objects to represent real-world objects is called abstraction.
Encapsulation-Encapsulation is the concept that implementation of an object is independent of its interface.
Polymorphism-Polymorphism is the ability of different classes to provide different implementations of the same public interfaces.
Inheritance-For reusablily,such as using used functionaliy from existing one.
Ritesh 'abstract'ed OOPS in a better way
Reply With Quote
  #10 (permalink)  
Old 05-15-2007
Junior Member
 
Join Date: Apr 2007
Location: Balgalore
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
md.jahidanwar is on a distinguished road
Re: OOPS concept.....

HI psuresh,
I am agree with Kalayama.
OOP is mainly use for Data Security .no one can access the data out side the world.........
And we can design as like real life................
if u want more plz reffer Balguru Swami...........

Regards
Jahid
Reply With Quote
  #11 (permalink)  
Old 05-21-2007
Contributing Member
 
Join Date: Feb 2007
Location: hyderabad,india
Posts: 34
Thanks: 0
Thanked 4 Times in 4 Posts
raafay is on a distinguished road
Lightbulb Re: OOPS concept.....

HI Suresh,
May be your friend is referring to features of OOPs such as it maintain data integrity, it maintain security, it maintain the format such as the class we use in programs. But main thing is these concepts are to enhance your programming ability and one can you real life concepts.
So in one way he might be correct!
Take care,
Raafay.
Reply With Quote
  #12 (permalink)  
Old 07-18-2007
Junior Member
 
Join Date: Jun 2007
Location: ha noi
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
mamut84 is on a distinguished road
Re: OOPS concept.....

thank for all
Reply With Quote
  #13 (permalink)  
Old 08-01-2007
Junior Member
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ravikirant is on a distinguished road
Re: OOPS concept.....

Thanks to all ...
...Ravi
Reply With Quote
  #14 (permalink)  
Old 08-02-2007
Junior Member
 
Join Date: Oct 2006
Location: Mumbai, India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
vipin gupta is on a distinguished road
Re: OOPS concept.....

Main reason to design OOPS is to handle complex programs. Your friend is a bit right in saying it is to handle maintenance task. But this is not the only purpose. Basically with structural programming once the program size grows beyond 25000 lines of got it becomes very difficult to manage it. There comes modular programming and OOPS to sort out the problem.
I hope I am clear.
vipin
Reply With Quote
Reply

  Geeks Talk > Software Development > OOPS


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
What is the abbrevation of OOPS? JobHelper OOPS 34 10-16-2008 03:43 AM
GD-001 Among all the OOPS Language, which one is the best? Why it is the best? admin Group Discussions 19 12-14-2007 02:34 AM
Want to know the Concept StephenRaj Unix/Linux 4 01-12-2007 07:54 AM
Concept in .NET JohnMathew ASP.NET 2 10-09-2006 04:25 PM
Concept of Denormalization RyanJames Database General 3 06-30-2006 03:00 AM


All times are GMT -4. The time now is 03:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved