Back
Close

Java教學

IanChang
1,706 views
Next: 註解

Hello World!

學習程式語言第一課都是Hello World

我們將學到如何輸出Hello World到控制台

Hello World
// { autofold
package com.yourself;
import java.io.PrintStream;
public class lesson1 {
// }
public static void helloWorld() {
//""西
System.out.println("Hello World");
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

請你將程式改成輸出Hi Java到控制台

測驗

Hi Java
//{autofold
package com.yourself;
public class lesson1Exercise {
//}
public synchronized static void hiJava() {
}
//{autofold
}
//}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants