Which programming language is this?
class Base {
public:
virtual ~Base() = default;
};
Answer: C++
A virtual destructor defaulted with
Play Programming Languages ▸
= default is C++; the tilde names the destructor.