Your First Program
Uppgift
Swipe to start coding
Replace the line //replace this line with your code
with the code that will display Hello World!
on the screen.
Lösning
solution.java
9
1
2
3
4
5
6
7
package com.example;
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 6
single
9
1
2
3
4
5
6
7
package com.example;
public class Main {
public static void main(String[] args) {
// replace this line with your code
}
}
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal