what are the oops concept in java explain with real time
examples

Answer Posted / venkysam

inheritance: deriving the properties of superclass by using
EXTEND method
polymorphism:poly=many form, a function with same name but
different parameters and type will change
abstraction:showing essential features by hiding non essential
features,by using access specifiers
PUBLIC,PRIVATE,PROTECTED
encapsulation: combination of data members and member
functions is called , data encapsulation

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the files generated after using IDL to java compiler?

572


Which is bigger float or double java?

508


Garbage collection in java?

573


what is a working thread? : Java thread

536


Explain Basics of OOP Language in java

573






Why lambda expression is used in java?

556


What does indexof return in java?

523


What is return used for in java?

512


How to perform selection sort in java?

565


What is boolean used for?

576


What do you mean by constant time complexity?

590


What are the types of java?

592


What are the different conditional statements?

541


What is return code?

550


What is a variable in java?

518