Join Slack
Powered by
i pulled class name from a string in a json file a...
# getting-started
h
Hullaballoonatic
06/13/2018, 7:01 PM
i pulled class name from a string in a json file and i'd like to instantiate that class, so I wrote it as so:
num * (Class.forName(itemClass).newInstance() as Item)
Open in Slack
Previous
Next