Class Design
Everything on SkillVeris tagged Class Design — collected across the glossary, study notes, blog, and cheat sheets.
7 resources across 1 library
Interview Questions(7)
What is a Nested Class in OOP?
A nested class is a class defined entirely within the body of another class, used to logically group classes that are only meaningful in the context of their e…
What is a Static Class?
A static class is a nested class declared with the static modifier that does not hold an implicit reference to an instance of its enclosing outer class, so it…
What is a Utility Class?
A utility class is a class that groups together a set of related static methods (and sometimes static constants) and is never meant to be instantiated, typical…
Concrete Class vs Abstract Class
A concrete class is a fully implemented class that can be instantiated directly with `new`, while an abstract class may leave one or more methods unimplemented…
What is a Partial Class?
A partial class is a class whose definition is split across two or more source files, which the compiler merges back into a single class at build time, most no…
What is a Friend Class in C++?
A friend class in C++ is a class explicitly granted access to another class’s private and protected members, declared using the `friend` keyword inside the cla…
Friend Functions vs Encapsulation
A friend function is a non-member function explicitly granted access to a class’s private and protected members, and it appears to conflict with encapsulation…