What?s the difference between an interface and abstract class?
Answer Posted / rambabu gonela
java does't support multiple inheritance..to overcome this
problem.. java introduce new concept that is interface,
we cannot intantiate both interface and abstractclass.1)by
default in interface variables are public,static and final,
in abstract class we have to declare explicitly 2) methods
in interface public,nonstatic and abstract,where as in
abstract class we have to give....
3)we can implements more than one interfaces.. but we can
extends only one class..
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
Why constructor is used in c#?
What is the namespace for the thread class?
What does dbml mean in texting?
Define multicast c# delegate?
Why data types are important?
Which technology is best for desktop application?
What is using keyword in C#?
What is the difference between CONST and READONLY?
What is difference between Enum and Struct?
What are the different types of delegation?
Can we use "this" command within a static method?
What is data set in c#?
Can we have static indexer in c#?
What is lazy class in c#?
What are delegates?