The Model interface

Report a typo

Which of these methods are used to add attributes to the model?

Java

A) addAttribute(String attributeName, Object attributeValue)

B) addAllAttributes(Collection<?> attributeValues)

C) addAttribute(String attributeName)

D) addAllAttributes(Object[] attributeValues)

Kotlin

A) addAttribute(attributeName: String, attributeValue: Any?)

B) addAllAttributes(attributeValues: Collection<*>)

C) addAttribute(attributeName: String)

D) addAllAttributes(attributeValues: Array<Any?>)

Select one or more options from the list
___

Create a free account to access the full topic