1. Do we have static classes in C++?
2. If so what are they useful for?
3. Is this the name given to classes that should not be allowed instantiation?
4. If so, how is it different from abstract classes?
ahtaniv
0
Newbie Poster
Recommended Answers
Jump to Post5. Is this homework? ;)
Why don't you write out what you think the answers are and someone will check them over for you.
Jump to Post1. Do we have static classes in C++?
Since this question was given to you by a Java programmer, you have to consider what a static class is in Java and then see if C++ supports the same behavior. In Java, a static modifier is only allowed on nested classes, …
All 5 Replies
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Lourdupinto
0
Newbie Poster
ahtaniv
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Narue
5,707
Bad Cop
Team Colleague
jonsca
commented:
Nicely tied together :)
+6
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.