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 / ravi kant

oops is a extension of modular approaches of programming..
the basic thing are-:
class-:it is a structure.blueprint,skeleton of the object
object-:it is identities by its unique name,it represent a particular instant of class..
abstraction-:hiding only the unnecessary data.
encapsulation-:protecting our data..
eg-: school bag
inheritance-:it form a new class from the existing class..
parent class inherit the base class.
polymorphism-:it allow routine to use variable of different type at differnt time..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are abstract functions?

1084


Tell me how many ways are there to initialise an integer with a constant.

1155


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

2157


What are some alternatives to inheritance?

1167


How do I find and replace in word?

1025


If you are given the name of the function at run time how will you invoke the function?

1188


What are the types of arrays in java?

1134


What restrictions are placed on method overriding?

1244


How dead lock situation occurs in java and how you can identify it?

1045


Which collections are thread safe in java?

960


How will you serialize a singleton class without violating singleton pattern?

2005


What is a singleton factory?

1027


What is a null point?

1153


Where is core java used?

1056


What are dot operator queries?

1154