Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Please tell me the oops concept with detailed answer

Answer Posted / mahesh_b.tech@2008

There are mainly 4 object oriented principals.

1)ABSTAACTION:process of providing necessary properties &
operations of an object.

2)ENCAPSULATION:process of providing all the properties
&operations of entity in one place.
properties...>variables
operations...>methods
place ...>class

3)INHERITANCE:process of writing a new class(derived
class,sub class,chiled class) by using the functionality of
existing class(super class,base class,parent class)

4)POLYMORPHISM:one form behaving differently in different
situations.
ex:tv remote button,same button used to make the tv on &
off.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1312


What is the main purpose of inheritance law?

1248


Why we use classes in oop?

1097


What is balance factor?

1132


How do you achieve runtime polymorphism?

1097


What is abstraction and encapsulation?

1064


What is class in oop with example?

1160


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4805


What is abstraction in oop with example?

1191


How to call a non virtual function in the derived class by using base class pointer

6694


What is cohesion in oop?

1112


Why do we need oop?

1274


What is oops with example?

1102


What is the real time example of inheritance?

1207


Is abstract thinking intelligence?

1109