how to find no of instances of an object in .NET?
Answer Posted / 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 |
Post New Answer View All Answers
Why do we need oop?
Why interface is used?
What is meant by multiple inheritance?
What is the benefit of oop?
What is super in oop?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Why is object oriented programming so hard?
What is the difference between encapsulation and polymorphism?
Can we have inheritance without polymorphism?
How do you achieve runtime polymorphism?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
write knight tour problem which is present in datastructure
What is a function in oop?
What is abstraction example?