what are the oops concept in java explain with real time
examples
Answer Posted / venkysam
inheritance: deriving the properties of superclass by using
EXTEND method
polymorphism:poly=many form, a function with same name but
different parameters and type will change
abstraction:showing essential features by hiding non essential
features,by using access specifiers
PUBLIC,PRIVATE,PROTECTED
encapsulation: combination of data members and member
functions is called , data encapsulation
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Why is it called a string?
How to convert string to byte array and vice versa?
How objects are stored in java?
What’s the difference between callable and runnable?
What are the different types of constructor?
Is string a class?
What is string variable?
Explain the features of interfaces in java?
What is r in java?
What is difference between call by value and call by reference?
What are the steps that are followed when two computers connect through tcp?
Can we make the abstract methods static in java?
Explain enumeration in java?
Why is the main method static?
What is the difference between Error, defect,fault, failure and mistake?