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
What are c++ storage classes?
Define pointers?
Differentiate between realloc() and free().
Do you know about C++ 11 standard?
What is c++ library?
what is data encapsulation in C++?
How should a contructor handle a failure?
What are all predefined data types in c++?
Can I learn c++ as my first language?
Is c better than c++?
Can a constructor be private?
Explain the difference between static and dynamic binding of functions?
Why is main function important?
What do you mean by stack unwinding in c++?
What is c++ and its features?