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
Describe different states of a thread.
What do you mean by JVM?
What is increment in java?
What is the purpose of extern variable?
How do constructors use this() and super()?
How to solve the problem of generating the unique hash keys with hash function?
What does g mean in regex?
Why is it called boolean?
What is arrays aslist in java?
What is the advantage of preparedstatement over statement?
What is internal variable?
Why do we use predicate in java?
What is an abstract method in java programming?
What is run time allocation?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?