+ 1
Can Java be used on notepad
6 Respuestas
+ 2
You can write code in notepad but how can you compile there?
Write code in notepad if you want, and copy code and paste in compiler, then you can run...
better to use IDEs like notepad++, netbeans, eclipse, ...
+ 3
Sure :p
File file1 = new File(foo.txt);
if (!file1.exists())
file1.createNewFile
+ 2
The word used is a bit ambiguous.
+ 1
you can use it for edit source file, then save your code as name.java,
run
> javac.exe name.java from command line (cmd) and then
> java.exe name
but notepad is too primitive editor for programmers, notepad++ is realy better, or if you want very simple editor win32pad, it has line numbers
+ 1
Yes u can write code in notepad and u can use command prompt which is available in your system
+ 1
I also said that we can write code in notepad but we cannot compile by notepad.we can compile java file by command prompt