Is it possible to create a new instance of a class within the class itself | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Is it possible to create a new instance of a class within the class itself

public class fooclass { public static void main(String[] args){ fooclass object = new fooclass(); // is it possible? } }

31st Oct 2017, 7:11 AM
Morgan Lee
Morgan Lee - avatar
0 Réponse