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
Can constructor return value?
What is the += operator called?
What are the 4 types of research methods?
What is java full form?
Which browsers work with java?
What is java in layman terms?
What is meant by distributed application? Why are we using that in our application?
Difference between static synchronization vs. Instance synchronization?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
Can an object be null?
What is a boolean field?
Can we overload destructor in java?
How can we find the sum of two linked lists using stack in java?
Write a java program to count the number of words present in a string?
Write a program to solve producer consumer problem in java?