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
A train overtakes two persons walking along a railway track. The first one walks at 4.5 km.hr . the other one walks at 5.4 km/hr. the train needs 8.4 and 8.5 seconds respectively to overtake them, What is the speed of the train if both the persons are walking in the same direction as the train?
How many two digit numbers satisfy the property: the last digit of the square of the two digit number is 8:
on an item a company gave 25% discount then they get 25% profit if it gives 10% discount then what is the profit.
A lorry starts from Banglore to Mysore at 6.00 A.M,7.00am.8.00 am.....10 pm. Similarly one another starts from Mysore to Banglore at 6.00 am,7.00 am, 8.00 am.....10.00pm. A lorry takes 9 hours to travel from Banglore to Mysore and vice versa. A lorry which has started at 6.00 am will cross how many lorries.
In a club there are certain no. of males and females. If 15 females are absent then no. of males will be twice that of females. If 45 males are absent then female strength will be 5 times that of males. Find no. of males actually present.
Find the correct meaning of the following phrase: Man of few words
If A, B and C are the mechanisms used separately to reduce the wastage of fuel by 30%, 20% and 10%. What will be the fuel economy if they were used combined.
Difference between the perimeters of two concentric circles is 66. Find the difference between radius.
The day before yesterday was WEDNESDAY then the day after 2morrow is?
in a market 4 man are standing .the average age of the four before 4 years is 45, after some days one man is added and his age is 49. What is the average age of all?
Three years ago my uncle offered me a used keyboard for Rs. 1024. A year later he offered me the same for Rs. 640 and last year he wanted Rs. 400 and now he is willing to sell it to me for Rs. 250. But I have decided to buy it when he reduces the price next time. If he is constantly reducing its price, at what price will he offer the keyboard to me next?
THERE ARE 3 PILES OF BOOKS ON THE TABLE YOU NEED TO ARRANGE THEM IN THE SELF SUCH THAT 1ST BOOK OF EACH PILE GETS PLACED ON THE SELF,WHAT IS THE POSSIBLE NO OF ARRANGEMENTS
In a class photograph, 5 girls are sitting in the front where as 20 boys are standing behind them. The corner two positions are reserved for the tallest boys of the class. What are the number of ways the students may be arranged?
Number of digits with a 2 in them between 100 and 400?
sadrine's avg on four tests is 80 which of the following cannot be the number of tests on which she earned exactly 80 points