what is difference between abstract class and interface?

Answer Posted / bipin chandra sai.s

abstract means when don't have definition but it has only
declaration is called abstract class,and abstract class
also donot have any objects.

interface means in the concept of multiple inheritance we
use interface for declaring the subclasses instead of class
declaRATION we use interfaces

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi...i have got selected for United bank po interview.can anyboby suggest me how to prepare for interview.r there any books for po interview?i am asking because..this s my 1 st bank interview...pls send me interview material if u have any ..my mail id=pruthi_tarun@yahoo.co.in....thank u

2220


A moves 3 kms east from his starting point . He then travels 5 kms north. From that point he moves 8 kms to the east.How far is A from his starting point?

889


if on a salary s per month, a tax of x% of the salary and another of r% of the salary is deducted what is the income.

661


how to learn aptitude quickly

1909


Ms. Neelam deposits an amount of Rs. 16420 at simple interest and obtained 25451 at the end of 5 years. What was the rate of interest per year?

725






There are 4 married couples out of which 3 a group is needed . But thier should not be his of her spouse .How many groups are possible ?

2489


A batsman scored 18 runs in his 18th innings and that makes his average 18. Find his average upto the 17th innings?

690


Sum of 5 consecutive numbers is 35. How many of the numers are prime:

701


1, 11, 21, 1211, 111221, 312211, . . . . . what is the next term in the series?

748


If A=Z, B=Y, C=X, .......... Z=A, Then SOUR = ?

660


Find the next series: AD DP PL LV ?

822


Find the next letter in the series B,F,J,P ---

795


A man said to woman " your only brother's son is my wife'sbrother". How is the woman related to the man's wife..

1008


4 thieves rob a bakery of the breadone after the other. each thief takes half of what is present ,& half a bread.if at the end 3 bread remains,what is the no of bread that was present initiallly?

687


what types of question tricom will ask

1638