We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Like the following code:
abstract class Foobar { getDefaultInst(); }
class A { method1<T extends Foobar>() { T t = new T(); // create generic instance. return t.getDefaultInst(); } }
Thanks!