Computer scienceProgramming languagesKotlinObject-oriented programmingObject-oriented programming usage

Packages and imports

StringBuilder problem

Report a typo

Imagine that you want to import two versions of StringBuilder to use in your code. The first one belongs to the kotlin.text package, the second to java.lang.

How can we solve this problem?

Select one or more options from the list
___

Create a free account to access the full topic