How to invoke a class without class instance ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to invoke a class without class instance ??

24th Jul 2017, 12:03 PM
Nandhini.B.R
Nandhini.B.R - avatar
2 Answers
+ 1
I guess you could use a static class?
24th Jul 2017, 2:32 PM
Bagshot
Bagshot - avatar
0
So what do you mean by invoking class? Like create object (without instanciating is impossible) or accessing the members?
24th Jul 2017, 12:42 PM
Jakub Stasiak
Jakub Stasiak - avatar