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

1) Encapsulation:- is achieved through
classes.(Binding/Storing data and methods as a single unit )
2) Abstraction:-it is achieved through private, protected,
public, default keywords.
3)Inheritance through interfaces.
4)polymorphism is achieved through method overloading and
constructor overloading.
5)Message Passing -through objects calling

Is This Answer Correct ?    30 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we make a class singleton?

1002


Is java 9 released?

943


Is 0 a prime number?

926


Can static method access instance variables ?

1071


What do you mean by an object in java?

1077


How many types of methods are there?

972


What does it mean to flush a file?

1005


Java is pass by value or pass by reference? Explain

934


Why we used vector class?

1022


Differences between C and Java?

1116


What is the use of parseint in java?

966


What is the difference between JDBC 1.0 and JDBC 2.0?

3124


What is meant by memory leak?

981


Give few examples of final classes defined in Java API?

1113


What are the Class Libraries ?

999