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

If you are making methods as abstract other restictions of
and difference is as it is like about modifiers[private, final, transient, volatile]

when condition is like your class extends other class [like JFrame or any such condition]then you cant use abstract class you must go to the interfaces.

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 preparedstatement in java?

1047


What is used of static keyword in java?

1073


what are the states associated in the thread? : Java thread

1049


What happens if we don’t override run method ?

1005


Why is java multithreaded?

988


Is ++ operator is thread safe in java?

956


Differences between traditional programming language and object oriented programming language?

1123


What is a dynamic array in java?

1178


How to use arraylist in java netbeans?

1042


What is the difference between the font and fontmetrics classes in java programming?

1149


Can anonymous class have constructor?

1020


Is main is a keyword?

1000


Can we clone singleton object in java?

1019


What do you mean by thread safe?

975


Is null a string in java?

1073