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 an eror in java?
What do bitwise operators do?
What is structure of java heap? What is perm gen space in heap?
Can we use String with switch case?
Which is bigger float or double java?
What is the significance of continue jump statement? Explain with an example.
What is collection class in java?
What is the final class?
What is the preferred size of a component in java programming?
How do you differentiate abstract class from interface?
Why to use nested classes in java?
What do you mean by inner class in java?
What is time complexity algorithm?
Mention the default values of all the elements of an array defined as an instance variable.
Is 0 a real number?