+ 7

Can concrete objects of another class be created within static methods of a (static) class?

As above.

7th May 2019, 11:39 PM
Sonic
Sonic - avatar
3 Réponses
+ 5
Do you mean something like this? https://code.sololearn.com/cuJ8bD791YnS/?ref=app
8th May 2019, 1:28 AM
Denise Roßberg
Denise Roßberg - avatar
+ 5
Yes and also like this: https://code.sololearn.com/cWmu0TVSMsRC/?ref=app Thanks Denise Roßberg for helping me find the answer.
8th May 2019, 2:38 AM
Sonic
Sonic - avatar
+ 4
Sonic Your welcome :)
8th May 2019, 7:59 AM
Denise Roßberg
Denise Roßberg - avatar