Fill in the blanks to declare a destructor for the class Book. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Fill in the blanks to declare a destructor for the class Book.

c# code. Module 6 class Book { ~Book() { //some code } }

10th Feb 2018, 2:20 AM
Mesut Alcicek
Mesut Alcicek - avatar
5 Answers
0
Fill in the blanks to declare a destructor for the class ''Student''. :- ~ student () ;
22nd Oct 2022, 5:16 AM
YASH DARJI
YASH DARJI - avatar
- 1
fill in the blanks to declare a destructor for the class " student ". Class student { Public: Student (); _student (); }; Answer: ~
23rd May 2020, 7:12 PM
Shailesh Kumar meena
Shailesh Kumar meena - avatar
- 1
Mesut Alcicek The missing blank is ~ that little line that looks like a dash but is wiggly idk lol ~~~~~~~~~ -Fynn :P
14th Apr 2022, 2:31 PM
Stella
Stella - avatar
- 3
Try learning about destructor!
29th Jan 2020, 2:34 AM
$hardul B
$hardul B - avatar
- 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();
18th Sep 2020, 9:21 PM
OjeifoIduma