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
Explain wrapper classes in java?
Explain the transient field modifier?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is Java Annotations?
What are the four pillars of java?
Tell some latest versions in JAVA related areas?
What is string length in java?
Is null function in java?
What is multi level inheritance in java?
What is the nested interface?
What is the purpose of a default constructor?
What are the supported platforms by java programming language?
Difference between Preemptive scheduling vs. Time slicing?
What are local variables?
If you do not want your class to be inherited by any other class. What would you do?