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
What is a generic data type?
What is a wrapper method?
What does substring mean?
How can we avoid including a header more than once?
extending thread class or implementing runnable interface. Which is better? : Java thread
What is byte value?
'A class is a template for an object' explain this statement.
What is byte data type?
Explain about the security aspect of java?
How to display all the prime numbers between 1 and 100
Can a method be static?
Why strings in java are called as immutable?
What do you mean by chromounits in java8?
What is keyword in oop?
What is a default constructor and also define copy contrucyor?