最佳答案
Class someInterface = Class.fromName("some.package.SomeInterface");
How do I now create a new class that implements someInterface
?
I need to create a new class, and pass it to a function that needs a SomeInterface
as an argument.