What is the difference between Abstract and Interface?
Answer Posted / jithin j
Interface: contain only abstract method and static and final (constant) variable.Even if we don't use static and final keyword it is considered as constant
Abstract: contain both abstract and non abstract method
Interface: class implements interface
Abstract : class extends abstract class
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is c# used?
How can we set the class to be inherited, but prevent the method from being over-ridden?
What are the various components in crystal reports?
What are native methods?
What is the difference between asp net and c#?
Which compiler switch creates an xml file from xml comments in the files in an assembly?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close
how to print invert pyramid in c#
Describe the process of “exception handling implementation” in c#?
Explain how do I convert a string to an int in c#?
What is the difference between interface and abstract class in c#?
If you donot specify an access modifier for a method, what is the default access modifier?
Why are c# strings immutable?
Is ram a heap?