Abstract class and an Interface
Write difference between an Abstract class and an Interface.
Expert
Abstract Class :
a) A class is able to extend only one abstract class. b) Abstract classes must have subclasses. c) Members of abstract class may be private as well as protected. d) Methods in the abstract class may be abstract as well as concrete. e) Any class is able to extend an abstract class. f) Class extending the abstract class may or may not execute any of its method. g) There can be a constructor for the abstract class. h) An abstract class can implement the methods.
Interface:
a) Several interfaces can be implemented by a class, b) Interfaces should have implementations by classes. c) An interface can have only public members. d) All methods in an interface must be abstract. e) Only an interface is able to extend another interface. f) All methods of interface need to be implemented by a class implementing that interface. g) Interface does not have constructor. h) Interfaces cannot contain body of any of its method.
Differentiate between the methods Clone() and Copy() of a DataSet class?
Specify the process of execution for the managed code.
Which event controls are completely loaded?
What will happen if the ASP.NET server control with the event-handling routines is absent from its definition?
Write down a short note regarding the .NET?
Write the syntax to declare the namespace in the .NET and in VB?
Where the ViewState information can be stored?
List out the different components of an assembly.
What do you mean by the term base class of .net?
In ASP.Net which namespaces imported automatically by Visual Studio?
18,76,764
1929891 Asked
3,689
Active Tutors
1412117
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!