If a class is named MyClass, what must the destructor be named?

a) Erase
b) MyClass
c) Any name the programmer wishes except the name of the class
d) ~MyClass
e) None of the above.


d) ~MyClass

That is a language design decision that several languages that support classes made.

Computer Science & Information Technology

You might also like to view...

The declaration

class Point { } is an example of A) a generic class extending the class Number B) a generic class extending a non-generic class C) a generic class extending another generic class D) a non-generic class extending a generic class

Computer Science & Information Technology

This is a critical concept for business continuity and disaster recovery. It refers to information technology systems being in continuous operation for a long time, with minimal downtime.

What will be an ideal response?

Computer Science & Information Technology

In Access, ________ store a set of related data

A) Tables B) Queries C) Forms D) Reports

Computer Science & Information Technology

Only one type of label or data can be listed in each pie chart's slices

Indicate whether the statement is true or false

Computer Science & Information Technology