How OOPS concept is achieved in Java?
Answer Posted / ranjan
Encapsulation which is achieved by making classes.
Inheritance which is achieved by extending class and implementing interfaces.
polymorphism is achieved by function overriding and function overloading. Operator overloading is not allowed in java although implicitly string class uses + operator..
note : Abstraction is nothing its just showing functionality and hiding complexity
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How can we avoid including a header more than once?
What is the difference between JDK and JVM?
What is qms certification?
What is a 16 bit word?
What is nextline method in java?
What is the final keyword?
When should I use stringbuffer?
What is comparable and comparator interface? List their differences
Does java initialize arrays to zero?
How are observer and observable used in java programming?
Explain about OOPS concepts and fundamentals.
What is the association?
Why is whitespace important?
What is a finally block?
What is the method overriding?