Assume we have two annotations called Cool and Wild. Choose the correct way of applying them to the same target:
class Cat(@get:[Cool Wild] var name: String) //1
class Cat(@get:[Cool, Wild] var name: String) //2Assume we have two annotations called Cool and Wild. Choose the correct way of applying them to the same target:
class Cat(@get:[Cool Wild] var name: String) //1
class Cat(@get:[Cool, Wild] var name: String) //2Create a free account to access the full topic