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.
Write the two properties of the GridView control which have to be specified to turn on paging and sorting?
List out the attributes of an Interface.
How the cursor can be programmatically positioned on a given line or on a character in the RichTextBox control in C#?
Name the method that offers a functionality to display the dialog box during runtime?
Explain the several methods required by the DataSet object for generating the XML?
Distinguish the terms Asp.net and Vb.net?
Describe about lambda expressions which are used in LINQ?
Describe briefly LINQ (Language Integrated Query)?
Define the roles of CLR in .NET Framework and also explain the responsibilities?
Explain Windows services?
18,76,764
1946373 Asked
3,689
Active Tutors
1443828
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!