C interview questions – page 23
2,130 questions. Tap “Show answer” to check yourself.
-
What is the difference between Object and Instance?
-
What is the output of printf ("%d")
-
What is the difference between shadow and override
-
What is the first step to do anything with assembly
-
Assemblies cannot be loaded side by side
-
If A.equals(B) is true then A.getHashcode & B.getHashCode must always return same hash code
-
How do you import Activex component in to .NET
-
How to implement multiple inheritence in C#
-
GetEnumerator( ) of Ienumerable interface returns
-
In a multilevel hierarchy how are the constructors are called
-
What are Virtual Functions? How to implement virtual functions in "C"
-
What is difference between followin intialization.int iVar1;int iVar2 = int();and which one of two should we prefer always and why?
- Advertisement
-
What is the order of destructors called in a polymorphism hierarchy
-
This is a Regular expression built for parsing string in vb.net and passed to Regex class.Dim r As Regex = New Regex(",(?=([^""]*""[^""]*"")*(?![^""]*""))")What is C# equivalent for this regular expression.
-
Which attribute you generally find on top of main method
-
Constructors can not be static
-
What happens when you create an arraylist as ArrayList Arr=new ArrayList()
-
What is the default Function arguments?
-
In the following cases which is not function overloading
-
How can you force instantiation of a template?
-
How to convert ocx into DLL
-
What are the different types of polymorphism?
-
How do you add objects to hashtable
-
Constructor is the method which is implicitly created when ever a class is instantiated. Why?
- Advertisement
-
Which utility is used to create resource file
-
Which debugging window allows you to see all the name and values of all the variables in scope?
-
What is the output of Vectors.RemoveAt(1)
-
Stream object can not be initialized
-
What will be output of the following code#includeusing namespace std;class abc{public :void main(){cout<<" Its main function "< }};int main(int c, char **v){abc a;if(c<1){cout<<" Error can not accept it "< exit(1);}cout<<" its in main program "< a.main();return 0;}
-
It possible to inherit the private member in drived class?