Build Kotlin project in IntelliJ idea __intellij

Source: Internet
Author: User

When I woke up, I suddenly found out that Google has Kotlin as the first-level development language for Android, saying that it's going to be next to Java (but I always feel that Java is being discarded, mostly oracle things do sometimes ...). , Kotlin before really did not pay attention to, open IntelliJ idea, found in fact Kotlin module already had. So quickly write a simple hello Kotlin pressure yajing.

First, open New->project, in the Java project, select Kotlin (Java), as shown in the following figure, select, click Next:

Second, give the project a name:

Third, in the SRC directory right, create code file:

Iv. Write code and run:

The results of the execution are:

That's roughly what it looks like.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.