Which among the following two is best and why? Abstract
Class and Interface. What is the major difference in between
those two except the discrete methods and methods with
function definition.
Answer Posted / annn
Interface:
Cannot have access modifier
Cannot have concrete methods
Is a part of inheritance
we can create a object of interface
Abstract:
Can have access modifier
Can have concrete methods
Is not a part of inheritance
we cannot create a object of interface
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the new features in .net core?
Can I write il programs directly?
Tell us what is json data, and what is one way that .net developers can work with json?
Do you know what is lambda expressions in c#?
Should I implement finalize on my class? Should I implement idisposable?
Different levels of priority provided by .net.
What is an exe and a dll?
What is value type and refernce type in .net?
What do the terms “boxing” and “unboxing” mean?
What is iis? Have you used it?
what user controls are and what server controls are and the differences between the two.
Can a try block have more than one catch block?
How boxing and unboxing occures in memory?
what is machine key error in .NET how can we solve it?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it.