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 the iterator and generic algorithms.
What are the extraction and insertion operators in c++? Explain with examples.
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
Can member data be public?
Define virtual constructor.
Define the process of error-handling in case of constructor failure?
Why are arrays usually processed with for loop?
Is c++ built on c?
Write a program in C++ for Fibonacci series
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What is constructor c++?
what is Member Functions in Classes?
To what does “event-driven” refer?
Explain what happens when a pointer is deleted twice?
What is the purpose of ios::basefield in the following statement?