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

If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?

Answer Posted / ravi

if all the methods are abstract in abstract class,then the
only difference left is,,,,

interface can have static and final variables with public
and abstract access modifier only ,,,while abstract class
can have any type of variable with any type of access
modifiers

Is This Answer Correct ?    30 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is passed by reference and pass by value ?

1030


Write a program to print the pattern given below

934


What do you mean by global variable?

953


what is thread? What are the high-level thread states? : Java thread

1275


Can you declare a private method as static?

1154


How do you square a number?

1270


What is the difference between hashmap and hashtable? What is an interface?

1165


Explain about object oriented programming and its features?

1013


How do you find the independent variable?

1053


Which sorting algorithm is in place?

969


Difference between object and reference?

1173


How many bits is a char?

993


Is a class subclass of itself?

1087


Can we catch more than one exception in a single catch block?

1079


Which package has light weight components in java programming?

1143