Friday, February 3, 2017

Johnson Control

1. What is role Finaliser method ?
Ans: Finalizers (which are also called destructors) are used to perform any necessary final clean-up when a class instance is being collected by the garbage collector.

2. Why we have Finalize method while there is Garbage Collection?
Ans. If there are some unmanaged code used in application than we use Finalize to free the memory.If no unmanaged code used than no need to use Finalize method

3. What is Observer pattern?
4. What is SOLID?
5. Difference between fine grained object and coarse grained objects ?



No comments:

Followers

Link