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

diff between Abstract class Interfaces?

Answer Posted / anu mehra

abstract classes contain
1)abstract as well as non abstract method
2) to inherit we use extends keyword

Interface
1) all methods are abstract ,public and static
2) all variables are public , static and final
3) to inherit we use implements keyword
4) interface can extend another interface

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to sort the number with different sorts in one program ??

2334


What is abstraction in oops?

999


Can you inherit a private class?

1069


What is difference between inheritance and polymorphism?

989


What is the real time example of encapsulation?

1018


What is variable example?

999


Why is abstraction used?

1045


Why do we use encapsulation in oops?

990


What is the purpose of enum?

978


What is the benefit of oop?

1012


Why is abstraction needed?

999


What are the benefits of oop?

1188


can inline function declare in private part of class?

4337


What is inheritance in oop?

996


What is inheritance write a program to show use of inheritance?

1103