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 |
What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5
what is an instance of a class
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
what is use to destroy an object? illustrate.
What is a template?
How would you stop a class from class from being derived or inherited.
What is encapsulation c#?
what is new operator in c++
what is the main difference between c and c++?
386 Answers AZTEC, B.Tech, CMC, College School Exams Tests, HCL, IBM, ITM, Khalsa Institute, Microsoft, Oracle, Sanjeevni Institute, TCS, Tech Mahindra, Wipro, ZeOmega,
Can destructor be overloaded?
Do you know about multiple inheritance?
What is balance factor?