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

How OOPS concept is achieved in Java?

Answer Posted / kk

Encapsulation,Inheritance,Polymorphism are OOPS principles.

In Java, these OOPS principles are achieved as follows:

Encapsulation & data hiding is achieved thru access modifiers

Inheritance is achieved thru Interfaces

Polymorphism is achieved thru overloading of methods

Is This Answer Correct ?    43 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

932


What is the importance of static variable?

1053


Can You Have Virtual Functions In Java?

1082


What is linked hashmap and its features?

970


How do you sort arraylist in descending order?

980


If a variable is declared as private, where may the variable be accessed?

1000


Does java map allow duplicates?

839


What are abstract classes and anonymous classes?

1024


What are some characteristics of interference class?

944


How hashmap works in java?

1006


What is balanced tree in java?

908


What does business logic mean?

945


Explain the different forms of polymorphism?

953


What does this () mean in java?

931


In a container there are 5 components. I want to display the all the components names, how will you do that one?

995