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 an example of procedure?
What about features of local inner class?
What is busy spin, and why should you use it?
How does arraylist size increase in java?
Write a code to show a static variable?
Give example to differentiate between call by value and call by reference.
What is package private scope in java?
What is re-factoring in software?
How many threads can I run java?
What is an i/o filter?
Is java util regex pattern thread safe?
What lambda means?
What is hashing in java?
Can I import same package/class twice?
What does i ++ mean in Java?