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 we use classes in oop?
What is class in oop with example?
What is polymorphism in oops with example?
What are the three parts of a simple empty class?
What is constructor overloading in oop?
State what is encapsulation and friend function?
Why is polymorphism important in oop?
Why is there no multiple inheritance?
Can we create object of interface?
What is difference between abstraction and encapsulation?
What is encapsulation and abstraction? How are they implemented in C++?
What is coupling in oops?
What type of loop is a for loop?
#include
What are the important components of cohesion?