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
What is the latest version of java?
Explain about join() method?
Write a program to reverse a number in java?
Can we override compareto method?
Can we clone singleton object in java?
How do you implement polymorphism in our day to day life?
What is the maximum size of byte array in java?
How do you compare characters in java?
What is meant by final class?
What is public/private protected in java?
Is java hard to learn?
What is predicate in java?
Does java support Operator Overloading?
Tell me a few examples of final classes defined in Java API?
Why do we use regex?