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
In c++, what is the difference between method overloading and method overriding?
Write a Program to find the largest of 4 no using macros.
What is virtual destructor? What is its use?
How do you master coding?
What is stream and its types in c++?
When do we run a shell in the unix system?
What is a local reference?
How the keyword struct is different from the keyword class in c++?
What is private public protected in c++?
What is a friend function in c++?
What is the difference between a type-specific template friend class and a general template friend class?
Can c++ do everything c can?
Explain container class.
Is c++ high level programming language?
How can I improve my c++ skills?