❔ class instance creation
can any one tell me what is this method to create an instance of a class
1--> Product product = new();
13 Replies
and this as well
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
what about second one
.
like there is no type declared and that , at and and after that those statements
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
sorry bro sent you a wrong screenshot
check this one instead
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yeah very confused never saw this type of implementation before
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
haven't wrote this code myself just following a course and really got confused in this section
but i will do this once i implement it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.