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

when,where and how to use abstract class and interface

Answer Posted / vinaykumar

If you want to provide your own services for methods we
use interfaces.If you want to provide your own services or
to use the services of the methods in your class then wego
for abstract classes.abstract class is partially implemented
and partially unimplemented class where as interface is
completely unimplemented.both of the objects can not be
created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java console application?

1013


how to create constants in java?

1085


What are the limitations of procedural programming approach?

1056


What is the maximum size of arraylist in java?

1010


What is the use of using enum to declare a constant?

1029


When is the finalize() called? What is the purpose of finalization?

1080


Can we override private method in java?

1089


What are the important features of Java 10 release?

986


What is a bubble sort in java?

948


What is multi level inheritance in java?

1034


What does s mean in regex?

1019


What is the difference between public, private, protected, and friend access?

1046


Why is it called boolean?

1006


What are different type of exceptions in java?

973


What are the 6 mandatory procedures for iso 9001?

1033