Monday, April 7, 2008

Interview question


well, this a bit guide for the candidate who looking for jobs in c# or c++ out there.this question is what i get from my interviews, so hope this can help u a little bit^^.

1. Give the differences between Private, Protected and public

a: Protected : is available to any sub-class (a class inheriting this class).
Public :this is lowest restricted modifier, publicly declared object can be usable at any place in the application even in different package
Private :that is highly restricted modifier , this object are not usable outside of that class

2. Describe more of "Protected Internal"
It is available to classes that are within the same assembly and derived from the specified base
class.

About Me

A normal person, who live today to die tommorow