SyntaxFix
Write A Post
Hire A Developer
Questions
i have tested that and it worked
val x = 9 def printType[T](x:T) :Unit = {println(x.getClass.toString())}