SyntaxFix
Write A Post
Hire A Developer
Questions
Here's how you would do it in Kotlin
fun <T> myMethod(item: T) where T : ClassA, T : InterfaceB { //your code here }