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 reverse a string using recursive function?

2353


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2075


What is difference between pop and oop?

1175


Why is there no multiple inheritance?

1009


What are the important components of cohesion?

1026


write a program to find 2^n+1 ?

2076


What is abstract class in oops?

1027


what is different between oops and c++

2556


What is an interface in oop?

1052


What is pure oop?

1115


Explain the advantages of inheritance.

1151


Which language is not a true object oriented programming language?

1141


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863


What is class and example?

1193


Why is polymorphism needed?

1078