0
How can i make a constructor for a class?
3 Antworten
+ 2
Xavier i fixed the error in your code the solution is in the codeplayground section, you can have multiple constructors in a class and you forgot the default constructor.
0
You can make a public method in your class with the same name as the name of your class. It is a user constructor.
0
Thanks. :)