Getting started for "Scala" using Git in WIndows
Download Scala
Using Git,
$cd "/d/scala/bin"
For testing:- Write a very basic file
object helloworld {
def main(args:Array[String]) {
println("Hello Meow!")
}
}
save it as helloworld.scala
in bin folder
The object name should be same as the file name. This language is kinda mix of java, c and python.
$scalac helloworld.scala
$scala -classpath . helloworld
Ok done.
Why this repo?
In this repo, i will be adding some basics of scala gained through self-learning.