explain oops concepts with examples?
Answer Posted / nirmal kumar
Abstraction: is hiding irrelevant of data
object: Instance of class
class: Blue print of object
polymorphism: different function with different parameter
interface:is semantically related to abstract
members,members by public default.
Encapsulation: capsule with data and object
inheritance: Base class derived from another class
| Is This Answer Correct ? | 26 Yes | 11 No |
Post New Answer View All Answers
What is the difference between static binding and dynamic binding?
what is use of functional interface in java 8?
Explain how can you debug the Java code?
what is anonymous class in java?
Explain the features of interfaces in java?
Explain the use of shift operator in java. Can you give some examples?
What is unicode datatype?
What is treemap in java?
How do you reverse a string in java?
What is the difference between JDBC 1.0 and JDBC 2.0?
What is vector capacity in java?
How will you print number in reverse (descending) order in BST.
What is the difference between notify and notifyall method?
What are serialization and deserialization?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?