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

What is unsigned char?

1018


What does yield method of the thread class do?

981


When is the garbage collection used in Java?

1136


Why string is not thread safe?

965


Is static a singleton?

930


What is overloading and overriding in java?

1166


Why stringbuilder is not thread safe in java?

973


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1652


Can we override private constructor in java?

917


How we can make copy of a java object?

1045


Can we declare a constructor as final?

1222


Why we use multi threading instead of multiprocessing?

1009


Which eclipse is best for java?

962


what is mutual exclusion? : Java thread

970


How does thread synchronization occurs inside a monitor?

1056