What are the OOAD concepts in java explain with examples?
Answer Posted / sk
there are four concepts of ooad in java they are........
1.Polymorphism:one name many forms.
ex:overloading(compile time polymorphism)
overiding(Run time polymorphism)
2.Abstraction:unclearness
ex:when ever we are invoking any method
what logic is performing we do not know but we are getting
the output
3.Inheritance:we are reuse the code by using the extends
keyword
4.Encpsulation:binding the variable and methods is known as
encapsulation
| Is This Answer Correct ? | 29 Yes | 14 No |
Post New Answer View All Answers
What is the platform?
What are the advantages of encapsulation in java?
What is nested loop? What is dangling else condition in it?
What is the difference between iterator and list iterator?
What is the use of parseint in java?
Can java inner class be static?
How do I know if java is installed?
What is a parameter example?
Highest level event class of the event-delegation model?
Name four container classes.
what is synchronization and why is it important? : Java thread
What are wrapped classes in java programming?
What is java util concurrentmodificationexception?
What is get () in java?
What do you mean by compiler?