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
Write a program to print fibonacci series up to count 10.
Can variables be used in java without initialization?
How does thread synchronization occurs inside a monitor?
Can long be null in java?
What is a ternary operator in java? What is an interface?
Why does java not support operator overloading?
Why string is immutable with example?
Can the interface be final?
Is java 1.7 the same as java 7?
What are operators and its types?
How do I run java on windows?
Is intellij better than eclipse?
describe method overloading
How will you communicate between two applets?
What is the purpose of using the java bean?