Concept of the Destructor
Explain concept of the Destructor?
Expert
A Destructor is a special method for the class and is called automatically whenever an object is to be finally destroyed. Name of the destructor is also same as the class name but it is followed by a prefix tilde (~). A destructor is used to free the dynamic allocated memory and thus release the resources. You may, implement a custom method which permits you to control the object destruction by invoking the destructor.
The main attributes of the destructor are as follows:
a) As constructors, destructors are also always public.
b) Destructors does not have any return type.
c) We cannot overload Destructors.
Briefly explain the use of web.config?
State role that XSL plays when it dynamically generates HTML pages from the relational database.
State the difference between a class and a structure?
State different ways through which a method can be overloaded?
By what way we can display a default value in a text box of the input box?
Describe Common Language Specification (CLS)?
Illustrate the term Web User Control?
Which event controls are completely loaded?
Illustrate how do you create a Cookie?
Is it a good practice to practise handle the exceptions in code?
18,76,764
1959167 Asked
3,689
Active Tutors
1435259
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!