Scala paste mode

Welcome to Scala series. In this tutorial, you will learn about Scala paste mode. When you want to run multiple lines of code in a single go,I would suggest you to use :paste mode and avoid REPL. The reason is, REPL causes evaluation of the variable to early and might be bit odd to debug each and every line of […]

Scala print println printf functions

Welcome to Scala series.In this tutorial you will learn about Scala print println printf functions print To print or display in same line use below print() function. Example Output println println() function prints the inputs in new line. Example Output printf printf() function is useful in formatting strings and it prints consecutive printf calls in same line Example Output Example Output Thanks for reading. […]

What is Scala REPL?

Welcome to Scala series. In this tutorial, you will learn about What is Scala REPL and its uses. Scala has provided an interactive command line shell to execute the programs. This is one of the major advantages of Scala. Let us run a sample Scala command to get started. So What is Scala REPL? REPL stands for Read, Evaluate, print […]