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
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
Can we create our own wrapper class in java?
What is string in java?
What will happen if a thrown exception is not handled?
Why convert an applet to an application?
What are meta-annotations?
Can private class be inherited in java?
Is array passed by reference in java?
What is a modifier?
Write a method that will remove given character from the string?
what are the states associated in the thread? : Java thread
Can a method be static?
Does a class inherit the constructors of its superclass in java programming?
Explain about static nested classes in java?
Is null a string?