Saturday 15 February 2014

scala - Using "if" as an expression -


मुझे आश्चर्य है, मैं इसे क्यों संकलित नहीं कर सकता:

  class MyClass {override    

इसे आज़माएं:

  override def toString = "123:" + (यदि (सही) "456" और "789")    

No comments:

Post a Comment