30th Sep 2021, 9:31 AM
Ajoh Pv
Ajoh Pv - avatar
4 Respuestas
+ 4
because Demo is inner (non-static) class on create object you have to first specify object where demo class is Demo ref = ref1.new Demo(); edit: code was then changed to 3 separated classes
30th Sep 2021, 9:38 AM
zemiak
+ 2
You're inheriting and nesting the class at the same time?
30th Sep 2021, 9:36 AM
Tim
Tim - avatar
0
Thanks zemiak
30th Sep 2021, 9:40 AM
Ajoh Pv
Ajoh Pv - avatar
0
Nick i forgot to create class for main
30th Sep 2021, 10:00 AM
Ajoh Pv
Ajoh Pv - avatar