+ 1
java output result not showing
I am using window 10 and writing code in notepad ++ . and execute in cmd. in cms javac.example.java command is working. and new class file also is crating. after executing same code open directly in notepad ++ but it is not showing output result in cmd insead of code/file in notepad. kindly may tell to me my mistake for showing output in cmd
3 odpowiedzi
0
I suggest using eclipse, as it's free and it takes care of compiling for you. I am sure the reason why it didn't work is just a simple thing you may forgot, but using eclipse is really just the main thing i'd suggest while programming java.
0
For compiling the java code use-
javac example.java
For executing it we use-
java example
0
after class example.java in cmd Windows 10 out put result not showing only note pad ++ open in code. why. output result is not showing