Classes and Design

Static Classes

How to get static class behavior in C++ and what static means in C.

Is C++ Statically or Dynamically Typed?

C++ is statically typed, so the compiler checks types before the program runs. It still has some runtime type features, such as virtual functions.

2 min read

What Is a Static Class?

A static class holds only static members and cannot be instantiated. C++ has no such keyword, but you can build the same effect with a class or a namespace.

2 min read

Related topics

More in classes and design