explain oops concepts with examples?
Answer Posted / srinu
dataabstraction:it is giving only important things hiding
unnecessary things
encapsulation : it is data hiding under wrapper class
inheritance :it is reusebility code
example : parent propert belongs to child
polymorpism: it is flexibility when output depends upon
no of input
in this we have overloading
overloading means it contains same data type and
different parameters
| Is This Answer Correct ? | 77 Yes | 35 No |
Post New Answer View All Answers
What is navigable map in java?
What is instance synchronization?
Why Java is not pure Object Oriented language?
Can java list contain duplicates?
What is difference between local variable and global variable?
What is difference between hashset and hashmap in java?
Can we write class inside a class in java?
What do you mean by an object in java?
What is a module function?
What is application tier?
Can we use String with switch case?
What is the main use of generics in java?
What is the purpose of an interface?
Why do we override tostring method in java?
Why is it called buffering?