xxxxxxxxxx
// Scala program of Int max()
// method
// Creating object
object GfG
{
// Main method
def main(args:Array[String])
{
// Applying max method
val result = (5).max(9)
// Displays output
println(result)
}
}