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
describe private access specifiers?
What is the default width for ouputting a long integer using the insertion operator?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
Why do we learn c++?
What are the two main components of c++?
When should you use global variables?
How can I learn c++ easily?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
What are files in c++?
Should I learn c or c++ first?
Is there a sort function in c++?
What is time_t c++?
the maximum length of a character constant can be a) 2 b) 1 c) 8
What are the two shift operators and what are their functions?
Explain what are mutator methods in c++?