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
Complete the series: 5, 20, 24, 6, 2, 8, ?
A simple interest amount of Rs 6000 for 6 months is Rs 600. Calculate the annual rate of interest.
new town is straight to the north of new york. A high way m runs from newtown making an angle of 61 degree south east. From new york there is also an high way n which runs northeast 61 degrees. If high ways m and n are straight then find out the acute angle made at their intersection point.
complete the series: a c b d f e g i __
p and q are positive integers with their average 5, find how many different values can p take
Find the next series number : 21, 463, 687, 238, 1134, ----
Hi, Can anybody please send me the last year question papers of Oriental Bank of Commerce PO exam. My email ID is: yamini.friend14@gmail.com Thanks.
a father is 30 times more than his son however he will be only thrice as old as the son what is father's present age ?
gavaskar average in first 50 innings was 50 . after the 51st innings his average was 51 how many runs he made in the 51st innings
Find odd one cat,dog,rabbit,hamster,elk.
A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary ?
Can someone please send me the question paper for graduate level both tier 1 and tier 2 with detailed solution of maths exam (Tier 2). Please,suggest me the ways and books to prepare for this exam.Please, send this answer on my email Id
SEND + MORE = MONEY. Then what is the value of M + O + N + E + Y ?
A mall installed 36 cctvs at the beginning of the year. In March they installed 9 additional cctvs and then disconnected 18 in August. How many were still installed at the end of the year.
If the area of a square increases by 69%, then the side of the square increased by