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
How is class defined?
What is the difference between abstraction and polymorphism?
Why do while loop is used?
What is polymorphism in oop example?
Why multiple inheritance is not allowed?
What is abstraction in oops with example?
Whats oop mean?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Can we override main method?
What is polymorphism and types?
Explain virtual inheritance?
What is for loop and its syntax?
What is the diamond problem in inheritance?
write a program to find 2^n+1 ?
Please send ford technologies placement paper 2 my mail id