+ 4
Fill in the blanks to declare a destructor for the class Book.
c# code. Module 6 class Book { ~Book() { //some code } }
5 Respuestas
0
Fill in the blanks to declare a destructor for the class ''Student''.
:- ~ student () ;
- 1
fill in the blanks to declare a destructor for the class " student ".
Class student {
Public:
Student ();
_student ();
};
Answer: ~
- 1
Mesut Alcicek
The missing blank is ~
that little line that looks like a dash but is wiggly idk lol ~~~~~~~~~
-Fynn :P
- 3
Try learning about destructor!
- 3
Fill in the blanks to declare a pointer to the ''st'', where ''st'' is of type ''Student'', then call printAge() via the pointer.
Answer:
Student st;
Student *stPtr = st;
stPtr->printAge();