Interview Questions plz help tom is my interview
1) What is versioning?
2) What is DLL hell?
3) Destructor - It is called automatically when object is destroyed.
Rite or wrong?
4) Finalize or destructor are same?? They have same definitions.
5) Interfaces vs. Abstract Classes?
6) BCL vs FCL?
mansi sharma
Junior Poster in Training
75 posts since Apr 2008
Reputation Points: 17
Solved Threads: 0
Stevoni
Junior Poster in Training
75 posts since Jul 2009
Reputation Points: 28
Solved Threads: 13
1. That could be many things but likely they're talking about source control so you have a copy of the exact source code at each version
2. In the old days when you had a DLL named "file1.dll" that had to reside in C:\windows\system32\file1.dll you were screwed if Application A used v1.0, and Application B used v2.0 . It was DLL hell.
3. True
4. No they are not. A destructor implicitly calls the finalize method BUT you can implement more cleanup code in the destructor.
5. You can only inherit from a single class but you can implement any number of interfaces
6. no idea
[edit]
#4 -- Well actually I guess the ~Finalizer is interpreted at the MSIL level to Finalize() so in that respect they are the same. Its kind of an odd question. I would ask them to be more specific and explain the differences.
[/edit]
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735