Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Rextester.java
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { System.out.println("Hello, World!"); System.out.println("これからJavaの学習をはじめます!"); int x; x = 15; String y; y =("ヨシヒコ"); System.out.println("勇者"+ y + "はレベルが" + x +"です!"); if(x>20){ System.out.println("勇者"+ y +"は魔王を倒す事ができます!"); } else{ System.out.println("勇者"+ y +"は魔王を倒す事ができません。"); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Simple imitation for show banners on priorities
Java - SimpleDateFormat(ting) for XML
Votes JAVA
exp.1A
ContainsMethod
rd dap da
SecToHours
4.b
Speed
Brackets balancing
Please log in to post a comment.