0

Following Scala code in Azure Synapse should print: Hello, World!. But instead, it prints: defined object Geeks.

Question: What could be the issue and how can we fix it?

object Geeks { 

// Main method 
def main(args: Array[String]) 
{   
    // prints Hello, Geeks! 
    println("Hello, World!") 
} 
}
1
  • Can you clarify how you run this code in Azure Synapse? A notebook?
    – Gaël J
    Commented 3 hours ago

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.