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
Is a case study a method or methodology?
List down the methods and interfaces of collection class in java.
Can I learn java without any programming experience?
In the below example, how many string objects are created?
What are the advantages of defining packages in java?
Explain the difference between arraylist and linkedlist in java?
Is static a singleton?
What are the benefits of java?
Can we use a switch statement with strings?
Where are the local variables stored?
what is bmg file and how to create that files?what will it contailn?
What is the importance of main method in Java?
Write a program to print fibonacci series up to count 10.
What is the common usage of serialization?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?