logo

Crowdly

Browser

Add to Chrome

Which are correct uses of generics (R,S,T are type parameters)? a...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Which are correct uses of generics (R,S,T are type parameters)?

a)

class A <T,S> {

S x;

T y;

}

b)

class A <T,S> {

T x;

R y;

}

c)

class A { }

class B <T extends Throwable> extends A { }

d)

class A extends Throwable {}

class B <T> extends A { }

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.jku.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome