上一篇:没有了 下一篇:Scala概述

Scala教程

Scala教程

Scala教程

Scala是一种现代化的多范式编程语言,旨在以简洁,优雅和类型安全的方式表达常见的编程模式。Scala由Martin Odersky创建,2003年发布了第一个版本.Scala顺利整合了面向对象和功能语言的功能。本教程以简单易读的方式解释Scala的基础知识。

适合人员

本教程已经为初学者做好了准备,帮助他们在简单而简单的步骤中了解Scala的基础知识。完成本教程后,您将发现自己在使用Scala方面具有适度的专业知识,您可以从中将自己带到下一级。

学习提醒

Scala Programming is based on Java, so if you are aware of Java syntax, then it"s pretty easy to learn Scala. Further if you do not have expertise in Java but if you know any other programming language like C, C++ or Python then it will also help in grasping Scala concepts very quickly.

Execute Scala Online

For most of the examples given in this tutorial you will find Try it option, so just make use of this option to execute your Scala programs at the spot and enjoy your learning.

Try following example using Try it option available at the top right corner of the below sample code box −

object HelloWorld {
   def main(args: Array[String]) {
      println("Hello, world!")
   }
}

Copyright © 2002-2017 vue5.com 版权所有

Top