Difference between an interface and abstract class
Write the difference between an interface and abstract class?
Expert
Abstract Class:
i. The abstract class can implement methods. ii. Class can extend only single abstract class. iii. Abstract classes must have subclasses. iv. Methods in the abstract class can be abstract as well as concrete. v. There can be a constructor for the abstract class. vi. A class extending a abstract class may or may not implement any of its method. vii. Any class can extend abstract class. viii. Members of the abstract class can be protected as well as private.
Interface:
i. Interfaces cannot have body of any of its method. ii. Interface do not have constructor. iii. The class can implement many interfaces iv. The interface can only contain public members. v. The interfaces should have implementations by the classes vi. Every methods in the interface should be abstract vii. Every methods of the interface require to be implemented by the class implementing that interface. viii. Only interface can extend another interface.
Describe code access security (CAS)?
Illustrate the characteristics of the reference-type variables which are supported in a C# programming language.
State the use of a .disco file?
Illustrate how to manage state in ASP.Net?
Is it possible to create a Windows Service by using WPF?
How rows can be added or deleted from the DataTable object of DataSet?
Write the use of MaxDate and MinDate properties of a MonthCalender control?
Name the different types of authentication techniques which are used in the connection strings to connect the .NET applications with the Microsoft SQL Server?
Explain the function of .WebPart file do?
Explain keywords by giving example.
18,76,764
1946271 Asked
3,689
Active Tutors
1452922
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!