1
1
.
.
3
3
.
.
1
1
C
C
o
o
n
n
s
s
o
o
l
l
e
e
(
(
T
T
e
e
x
x
t
t
E
E
d
d
i
i
t
t
o
o
r
r
)
)
I
I
n
n
f
f
o
o
This tutorial shows how to use Text Editor to create "JAVA Console Application".
Console application uses command line to interact with the user.
D:\Test\Java\Test.java Command Prompt
C
C
r
r
e
e
a
a
t
t
e
e
J
J
a
a
v
v
a
a
C
C
l
l
a
a
s
s
s
s
Open Text Editor
(Paste below code)
Save as: D:\Temp\Test.java
Test.java
public class Test {
public static void main(String[] args) {
System.out.println("Hello");
}
}
C
C
o
o
m
m
p
p
i
i
l
l
e
e
&
&
R
R
u
u
n
n
J
J
a
a
v
v
a
a
C
C
l
l
a
a
s
s
s
s
Start Command Prompt
(Execute below commands)
Command Prompt
D:
cd D:\Temp
javac Test.java
java Test
output
Hello