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
Difference between overloaded functions and overridden functions
What is the best c++ book for beginners?
Write about the access privileges in c++ and also mention about its default access level?
How many types of classes are there in c++?
What is iomanip c++?
What is the latest version on c++?
Using a smart pointer can we iterate through a container?
Explain the difference between struct and class in terms of access modifier.
What is #include iomanip?
What is srand c++?
Explain function overloading and operator overloading.
How new/delete differs from malloc()/free?
What is the best c++ compiler for windows 10?
What are the two shift operators and what are their functions?
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.