how to find no of instances of an object in .NET?
Answer / gouri patil
When u create object of class it invoke Constructor. So
declare variable and increase in Constructor and
parametrised Constructor you will get number.
Is This Answer Correct ? | 7 Yes | 0 No |
Why do we use polymorphism?
Why is there no multiple inheritance?
There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?
explain sub-type and sub class? atleast u have differ it into 4 points?
how do you handle yourself when you feel the wald is aganist you
What is variable example?
What is Method overloading?
What is the difference between declaration and definition?
what is object oriented programming and procedure oriented programming?
What is encapsulation?
What is polymorphism what is it for and how is it used?
Can enum be null?