|
package org.example
fun printMessage() { /*...*/ }
class Message { /*...*/ }
// ...
|
package org.example
func printMessage() { /*...*/ }
class Message { /*...*/ }
// ...
|
Imports
|
import org.example.Message // Message is now accessible without qualification
|
import org.example.Message // Message is now accessible without qualification
|
import org.example.* // everything in 'org.example' becomes accessible
|
import org.example.* // everything in 'org.example' becomes accessible
|
import org.example.Message // Message is accessible
import org.test.Message as testMessage // testMessage stands for 'org.test.Message'
|
import org.example.Message // Message is accessible
import org.test.Message as testMessage // testMessage stands for 'org.test.Message'
|