I use scala.io.Source in my previous post, and now I am going to show another usage of this util. Let’s write a simple RSS feed parser that reads feed from [...]
Today we are going to look at reading files in Java and how to do the same thing in Scala. This is normally how we read files in Java.First we [...]
I was writing some small programs yesterday trying to read data from one database and input to another database.Hence,I tried to use Scala to do that.I’ve never write scala to [...]
Here’s some simple guide for you to install Scala in Windows environment. 1.Make sure you have Java installed. Fire up a command line window and type “java -version”, if you [...]
Let’s write a legendary “Hello world” program in both Java and Scala language. This is how we do in Java. public class Hello { public static void main(String[] args) { [...]
Recent Comments