Tutor profile: Michael P.
Subject: Java Programming
What is java's finalize() method?
The finalize() method is called by the garbage collector when there are no longer any remaining references to the object. You can override this method to ensure proper cleanup of the object or perform some actions on the object before it is deleted.
Subject: C++ Programming
What is the purpose of making a c++ class member static?
Marking a member as static within a class makes it shared among all objects of that class. We can make as many class objects as we wish but only one copy of our static member will exist.
Subject: C Sharp Programming
Explain the difference between Abstract classes and Interfaces in c#.
Interfaces can be thought of as a contract, any class that implements an interface must have all of its methods and properties. Interfaces are useful for creating functionality across objects that are different from one another. Abstract classes are used generally as a base class which will contain common functionality among objects that are similar to one another. These objects will derive from the base class and override the base classes methods to suit their needs. Remember that in c# you can only inherit from one class, but you can implement any number of interfaces.
needs and Michael will reply soon.