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


Please Help Members By Posting Answers For Below Questions

What is final method?

582


what is the difference between future and callable interface in java?

604


What do you mean by constructor?

547


What is an empty string in css?

528


What is a bubble sort in java?

545






Is there any tag in htm to upload and download files?

605


How to make a class or a bean serializable?

537


Is java a pure object oriented language?

538


Is cout buffered?

685


Can we override private method in java?

619


Is null == null in java?

650


What is parseint?

531


What is sortedmap in java?

549


What are the major drawbacks of external iteration?

572


What is multi-catch block in java?

616