differences between class inheritance and interface?
Answers were Sorted based on User's Feedback
Answer / chandra prakash
The most important technical distinction between creating a derived class and implementing an interface is that a derived class can only inherit from one base class, but a class can implement any number of interfaces.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / waqas ahmed
In C++, multiple class inheritance was allowed but in C# it
is not. The alternate for multiple inheritance is the use of
interface, it works like a pure abstract class (having
methods prototype only and have to be implemented by the
class that is inheriting the interface)
Is This Answer Correct ? | 2 Yes | 0 No |
How to manage different kinds of sessions in ASP.NET?
Difference between .NET and previous version?
What is CLR ? Differentiate between CLR & CTS.
What is razor? : asp.net mvc
What does the following SQL statement return, assuming that all tables and column names are correct? SELECT FirstName, StreetAddress FROM Employees JOIN AddressBook ON Employees.EmpID = AddressBook.EmpID a) Nothing, the JOIN syntax is wrong. b) All the records form the Employees table, and only the matching ones form the StreetAddress table. c) All the records from the StreetAddress table and only the matching records form the Employees table. d) Only the matching records from the two tables.
What are server-side comments in ASP.NET?
What is the significance of proxy user?
where should write the connection string Show that it will apply whole pages in the website
Explain the difference between panel and groupbox classes using .net?
Where session variables are stored?
What is custom tag in Web.Config?
What is difference between session and cookies?