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

What are the OOAD concepts in java explain with examples?

Answer Posted / sk

there are four concepts of ooad in java they are........
1.Polymorphism:one name many forms.
ex:overloading(compile time polymorphism)
overiding(Run time polymorphism)
2.Abstraction:unclearness
ex:when ever we are invoking any method
what logic is performing we do not know but we are getting
the output
3.Inheritance:we are reuse the code by using the extends
keyword
4.Encpsulation:binding the variable and methods is known as
encapsulation

Is This Answer Correct ?    29 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does constructor be static?

1045


Explain about anonymous inner classes ?

1088


Which container method is used to cause a container to be laid out and redisplayed in java programming?

1112


Is main a keyword in java?

984


What is the effect of keeping a constructor private?

953


What is immutable in java?

1073


What are the files generated after using IDL to java compiler?

1155


Why can't we make a class private in java?

1045


What are 3 boolean operators?

1013


Explain methods specific to list interface?

990


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

1049


how to create constants in java?

1091


What are different types of expressions?

1122


Explain about instanceof operator in java?

1061


How do you do descending order in java?

977