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

Explain access modifiers in java.

1101


What is diamond operator in java?

1019


Explain java coding standards for methods?

1083


What is canonical name in java?

1186


Explain the difference between association, aggregation and inheritance relationships.

1148


What are different types of constants?

1115


What is the purpose of static keyword in java?

1003


Can you use abstract and final both with a method?

1156


What is linked hashmap and its features?

1070


Why java is called not pure object oriented language?

1068


what is a thread pool in java and why is it used?

1054


Differentiate between nested and inner class in java.

1044


What is main string [] args?

1042


What do you mean by boolean?

1110


What is a method declaration?

1031