calling user defined class | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

calling user defined class

How to call a user-defined class in the main class? And i don't think we have to explicitly mention a main class as we do in other programming languages like C or Java,isnt it?

8th Nov 2020, 9:02 AM
Piyush Sharma
2 Answers
+ 7
Piyush Sharma , you are kindly asked to do a try by yourself first. Link your code here. Thanks!
8th Nov 2020, 9:56 AM
Lothar
Lothar - avatar
+ 3
Which language your referring? What you intend for "call a class"? P.S. c language has not class concept
8th Nov 2020, 9:10 AM
KrOW
KrOW - avatar