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...

explain oops concepts with examples?

Answer Posted / srinu

dataabstraction:it is giving only important things hiding
unnecessary things

encapsulation : it is data hiding under wrapper class

inheritance :it is reusebility code
example : parent propert belongs to child

polymorpism: it is flexibility when output depends upon
no of input
in this we have overloading




overloading means it contains same data type and
different parameters

Is This Answer Correct ?    77 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can constructor return value?

972


What is the += operator called?

1064


What are the 4 types of research methods?

925


What is java full form?

1034


Which browsers work with java?

1078


What is java in layman terms?

1013


What is meant by distributed application? Why are we using that in our application?

947


Difference between static synchronization vs. Instance synchronization?

1130


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1029


Can an object be null?

970


What is a boolean field?

962


Can we overload destructor in java?

996


How can we find the sum of two linked lists using stack in java?

1158


Write a java program to count the number of words present in a string?

985


Write a program to solve producer consumer problem in java?

1018