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.
What are Binders ?
Which method is used to kill explicitly the users session?
How can we check that whether all the validation controls on the Web page are valid and proper?
Explain about several validation controls which are available in ASP.NET AJAX 4.0?
Explain why does an organization needs to manage the workloads?
State the difference between a class and a structure?
What are the chief built in objects in Asp.net?
In what way we can disable a context menu for the TextBox control?
Explain the role of CLR in .NET Framework.
What is a behavior of the Web browser when it receives the invalid element?
18,76,764
1952129 Asked
3,689
Active Tutors
1442895
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!