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 is the difference between Abstract Class and Interface

Answer Posted / guest

An abstract class can have instance methods that implement a
default behavior. An Interface can only declare constants
and instance methods, but cannot implement default behavior
and all methods are implicitly abstract. An interface has
all public members and no implementation. An abstract class
is a class which may have the usual flavors of class members
(private, protected, etc.), but has some abstract methods.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by overloading and overriding in java?

1074


What is string substring?

1162


What are the advantages of exception handling?

1060


What is memory leak and how does java handle it?

980


How do you achieve polymorphism in java?

994


which pattern is default in scanner package?

2229


How do you sort arrays in java?

925


Explain about exception propagation?

1027


What is the longest unicode character?

1146


Is it possible to specify multiple jndi names when deploying an ejb?

994


Is a string literal?

1092


What data type is true or false?

1037


What are the escape sequences in java?

1021


What is a nested structure?

1031


What is string immutability?

1101