Definition of a class | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Definition of a class

I was doing a c++ exercise and i ran into a task which said “define a public definition of a class for exception objects with name HourTooBig” and honestly I couldn’t figure out what they meant by a definition of a class and exception

20th Feb 2020, 12:32 PM
Mohamad Moussa
Mohamad Moussa - avatar
2 Answers
0
thats not my question they asked me to define this definition of a class INSIDE the class itself which is called class Clock
20th Feb 2020, 12:46 PM
Mohamad Moussa
Mohamad Moussa - avatar