What will be printed in the console after printGreeting is invoked twice?
object Greeting:
def printGreeting = print("Hello mate!")
@main def test = {
Greeting.printGreeting
Greeting.printGreeting
}What will be printed in the console after printGreeting is invoked twice?
object Greeting:
def printGreeting = print("Hello mate!")
@main def test = {
Greeting.printGreeting
Greeting.printGreeting
}Create a free account to access the full topic