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 / reddy

Abstraction: giving only important things hiding unnecessary
things.
data hiding: we can get by using private keyword
encapsulation: abstraction+data hiding(security)
polymorphism: flexibility
inheritance: reusability

Is This Answer Correct ?    116 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

1094


when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

2221


How to print nodes of a Binary tree?

2305


Is 9 a prime number?

934


Explain different ways of creating a thread. Which one would you prefer and why?

1101


Can java run on google chrome?

1251


Where is the find and replace?

1056


Discuss different types of errors that generally occur while programming.

1088


What is the difference between array list and vector in java?

982


When do I need to use reflection feature in java?

1138


What is the difference between heap memory and stack memory?

1120


What does math floor () do?

1008


What is the difference between serializable and externalizable interfaces?

1170


why an outer class cannot be declared as private?

4381


what r advatages of websphere? & how to deploy?

2259