Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 2
what if we write: public class Animals {..... // in a public class and Animal dog = new Animal(); // in a main.
tell what if we write: public class Animals {..... // in a public class and Animal dog = new Animal(); // in a main.
1 Réponse
0
I don't believe you can define a class in a method like that.