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

A Fraction has the denominator greater than its numerator by 4. But if you add 10 to the denominator, the value of the fraction would then become 1/8. What is the fraction. 1/5,3/7,1/3,2/6

849


Which is the largest prime number that can be stored in a 9-bit register?

821


A building with height D shadow upto G. What is the height of a neighbouring building with a shadow of C

777


There are two trees in a lawn. One grows at a rate 3/5 of the other in 4 years. If the total growth of trees What is the height of the smaller tree after 2 years

879


What is the difference between control module

1277






If DBMDVUUB = CALCUTTA Then BOMBAY = ?

1626


If a car starts from A towards B with some velocity due to some problem in the engine after travelling 30km.If the car goes with 4/5 th of its actuval velocity the car reaches B 45min later to the actual time. If the car engine fails ofter travelling 45km, the car reaches the destination B 36min late to the actual time , what is the initial velocity of car and what is the distance between A and B in km ans) 20 &

797


Integral B(Transpose)*sigma(here sigma means stress)*dV REPRESENTS?

799


The ratio of the length : breadth : height of a cuboid is 5 : 4: 3, and the volume is 7500. What will be its surface area ?

924


Suhana gets 70% in Maths, 80% in Physics. To get an overall of 75% how much should she get in English.

821


A man spending half of his salary for house hold expenses, 1/4th for rent, 1/5th for travel expenses, a man deposits the rest in a bank. If his monthly deposits in the bank amount 50. What is his monthly salary ?

988


the matrix of a(7,9) was given.the address of the first byte of a(1,1)=1258.it takes 4 bytes to store the nuymber. then calculate the address of the last byte of a(5,8)

949


4 cows are there at the four corners of a square. if the radius of the rope is 1 and lenth of one side of the square is 14, find the area along the square which the cow cannot gaze.

928


(Momentum*Velocity)/(Acceleration * distance ) find units.

800


If 15 pens costs Rs.90..then what will be the cost of 22pens?

1148