Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why is it called a string?

1011


How to convert string to byte array and vice versa?

1088


How objects are stored in java?

1033


What’s the difference between callable and runnable?

1103


What are the different types of constructor?

996


Is string a class?

1037


What is string variable?

1054


Explain the features of interfaces in java?

982


What is r in java?

1059


What is difference between call by value and call by reference?

997


What are the steps that are followed when two computers connect through tcp?

992


Can we make the abstract methods static in java?

1062


Explain enumeration in java?

1008


Why is the main method static?

1159


What is the difference between Error, defect,fault, failure and mistake?

1205