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 does java stand for?
What are the various access specifiers for java classes?
What is a jagged array in java?
What is java string pool?
What are the properties of thread?
5 Coding best practices you learned in java?
Can we override constructors?
What is advantage of java?
Can you pass by reference in java?
What is the purpose of static methods and variables?
Is a boolean variable?
What is the maximum size of list in java?
What are the different collection views provided by maps?
Which is dependent variable?
How many types of equations are there?