2019/11/26
Creating Variables and Printing 2
For you to do:
-
Create an integer variable on line 4 and set it to the value 21.
class Main {
public static void main(String[] args) {
int age=21;
System.out.println(age);
}
}
반응형
'Java_beginner(Repl.it) > Auto-Graded-Course(AP CS A)' 카테고리의 다른 글
006 - String Methods - Length (0) | 2019.11.26 |
---|---|
005 - Creating Variables and Printing 5 (0) | 2019.11.26 |
004 - Creating Variables and Printing 4 (0) | 2019.11.26 |
003 - Creating Variables and Printing 3 (0) | 2019.11.26 |
001 - Creating Variables and Printing 1 (0) | 2019.11.26 |