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

what is difference between abstract class and interface?

Answer Posted / shubham soni

There is no difference in the functionality of these two.The
only difference is that a class cannot extend an abstract
class if it already is extending some other class.An
interface on the other hand can be implemented in any
situation which makes them very powerful.Also user defined
exceptions can be defined within an interface itself which
is not the case with an abstract class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If all the natural numbers from 256 to 400 are written side by side to each other, a large natural number is obtained. How many times 6 appears in this large natural number?

1101


Fifty minutes ago if it was four times as many minutes past three o'clock, how many minutes is it to six o'clock?

1195


If the simple interest is 10.5 % annual and compound interest is 10 % annual, compounded annually, find the difference between the interests after 3 years on a sum of Rs. 1,000.

1492


A father is 30 years older than his son however he will be only thrice as old as the son after 5 years what is father's present age ?

1319


02: 1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen?

1442


Person who decided to go to weekend trip should not exceed 8 hrs driving in a day. Average speed of forward journey is 40 miles/hour . Due to traffic in sundays ,in return journey average speed is 30mph . How far he can select a picnic spot ?

1284


If Rs.1260 is divided between between A, B and C in the ratio 2:3:4, what is C's share?

1536


12 Blacksox and 12 Whitesox mixed in a box,a pair of sox is picked at a time,in which pick how many pick ,to get the right pair(black&black or white&white)?

1132


Imagine a rectangle.Its length=2*width.A square of 1 inch is cut on all corners so that the remaining portion forms a box when folded.the volume of the box is_____ cubic inches.find the original dimensions of the box.

1226


the minimum of (2x+1)**2 + (x+2) is at x =

1123


Each row of letters or numbers has a rule connecting them. Write the next number or letterin the brackets. N , O , M , P , L , Q , K , R , (_ _ _)

1090


A coffee shop blends 2 kinds of coffee,putting in 2 parts of a 33p. a gm. grade to 1 part of a 24p. a gm.If the mixture is changed to 1 part of the 33p. a gm. to 2 parts of the less expensive grade,how much will the shop save in blending 100 gms.

1399


What is the 8th term in the series 1, 4, 9, 18, 35, 68, . . .

1282


one answer is 200/3 % it is perfectly correct wecannot recollec the prob. so place it blindly.

1209


Find the difference of the minimum number of numbers required to form every number from 1 to 1234 and 1 to 4321.

1257