Hey guys,
I am very curious about this. How does leetcode parse its input. For example, look at the picture below:

How does Leetcode take in a string "UndergroundSystem" as input and then initialize a class out of it? Same query for methods. How do you take in a string and then make a method of it?
Thanks,
Pierre