object Demo { def main(args: Array[String]) { var a = 10; // An infinite loop. while( true ){ println( "Value of a: " + a ); } } }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more