Project creation of Scala programming language

Project creation of Scala programming language

1. Introduction
Scala combines object-oriented and functional programming with a concise high-level language. Scala's static typing helps avoid errors in complex applications, and its JVM and JavaScript runtime enable you to easily access a huge library ecosystem to build high-performance systems.

2. Official website
https://www.scala-lang.org/
click here to jump directly

3. Create a Scala project in Java's IDEA tool

method one:

1. Create a project

Insert picture description here

2. Name and place

Insert picture description here
3. Create Scala file

Insert picture description here
4. Select object

Insert picture description here
5. The test is successful

Insert picture description here
Method Two:

1. Create a project and select Maven

Insert picture description here
2. Name and place

3. Create a new Scala directory

Insert picture description here
4. Create a root directory

Insert picture description here
5. Choose Framework support

Insert picture description here
6. Choose Scala

Insert picture description here
7, create a file

Insert picture description here
8. Test

Insert picture description here
4. Description

I did not elaborate on the specific principles in the article. My teacher chose the method of the Maven environment (Method 2), hereby explain!

If it helps you, please give me a thumbs up, thank you!

Guess you like

Origin blog.csdn.net/whjhut/article/details/108822751