How to invoke a class without class instance ?? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to invoke a class without class instance ??

24th Jul 2017, 12:03 PM
Nandhini.B.R
Nandhini.B.R - avatar
2 Respostas
+ 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