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...

features of OOPS

Answer Posted / prp

The primary features of an object oriented language are:

Encapsulation - This allows every object to have its own
properties and behaviors separate from others, and its own
little "capsule" to keep its properties in.
Inheritance - This allows an object to inherit the
properties of its ancestors.
Polymorphism - The allows an object to be treated like one
of its ancestors, i.e. if Truck was a subclass or
descendant of an object called Automobile, it can redo
behaviors that Automobile had, like Automobile has a
suspension feature that has it set to 10 inches tall, Truck
overwrites it and says its 30 inches tall.
Abstraction - This idea is related to encapsulation in that
you don't care how the object works, but you can make it
behave in certain manners.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have inheritance without polymorphism?

1023


any one please tell me the purpose of operator overloading

2397


can inline function declare in private part of class?

4406


Is this job good for future? can do this job post grduate student?

2164


to find out the minimum of two integer number of two different classes using friend function

2129


Write a program to reverse a string using recursive function?

2339


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2386


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

4745


What is stream in oop?

1300


What are the 3 pillars of oop?

1191


What is overriding in oop?

1036


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2242


What is the difference between inheritance and polymorphism?

1110


What does enum stand for?

1118


Can a varargs method be overloaded?

1106