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 are scalar data types?

1073


Why Java doesn’t support multiple inheritance?

1046


How hashmap increases its size in java?

991


What is the simpletimezone class in java programming?

1134


Which object oriented concept is achieved by using overloading and overriding?

1118


Is null an object java?

997


How many types of exception can occur in a java program?

989


Which eclipse is best for java?

1004


What is the benefit of inner classes in java?

1092


How do you clear a list in java?

1133


Which of the following is not an isolation level in the JDBC

2126


How do you compare objects in java?

961


What is nested loop? What is dangling else condition in it?

1092


What are the major advantages of internal iteration over external iteration?

1047


What is bitwise complement?

989