Answer Posted / anthony michael
Sourisengupta
Static Class is not possible in C++. But it can be done in
Managed C++
Static Class:
For Static Class we can't create Instances and It can only
hold Static member's.
Creating a static class is therefore much the same as
creating a class that contains only static members and a
private constructor. A private constructor prevents the
class from being instantiated.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How can you differentiate between inheritance and implementation in c++?
What is virtual methods?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
What are the differences between malloc() and calloc()?
What is srand c++?
What are the uses of static class data?
List the issue that the auto_ptr object handles?
How do you add an element to a set in c++?
What is the use of :: operator in c++?
How would you use qsort() function to sort an array of structures?
What is the use of endl in c++?
How do I run a program in notepad ++?
What are structs in c++?
What are the various compound assignment operators in c++?
Can we define function inside main in c++?