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
What is new keyword in oops?
What is polymorphism give a real life example?
What is the main purpose of inheritance law?
What do you mean by abstraction?
What is encapsulation oop?
What is pointer in oop?
How do you achieve polymorphism?
What is encapsulation selenium?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is encapsulation in ict?
What does no cap mean?
What is polymorphism and example?
How do you explain polymorphism?
What is difference between polymorphism and inheritance?
What polymorphism means?