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
Explain about the dynamic behavior of core java?
What does += mean in java?
Have you ever used hashtable and dictionary?
What is java in detail?
What is class variable java?
What is the meaning of find and replace?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
Explain about member inner classes?
What is static variable with example?
How can you read an integer value from the keyword when the application is runtime in java? example?
Why object class is super class for every class in java?
What is a method signature java?
How do you use wildcards?
Why is the main method static?
What is the purpose of finalization in java programming?