answersLogoWhite

0

just add an extension .java when you save your notepad text file

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

Add your answer:

Earn +20 pts
Q: How do you save a notepad file into a java file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Can you write java program in Microsoft Word?

Since the Java program is basically a text file, you can write it in any text editor (although using a Java IDE, or an IDE with support for Java, does give you certain advantages). Thus, you can use programs such as NotePad or NotePad++ to write the Java program. Using word processors such as MS-Word is problematic, because these insert additional codes. You would have to make sure you save the resulting file in the text format - give the "Save As" command, and choose a text format from the list.


What kind of file contain java source code?

'.java' files contain java source code. One can access these files on windows by using 'notepad'.


Can you save java source file without saving?

So you want to save a file, without saving it... You have some stuff to learn before you tackle java.


How many editor in which you can create java source code?

Java source code is a plain text file, so you can use practically any editor, for example NotePad (included in Windows) or better programs such as the freeware NotePad++. However, it is usually more convenient to use the editor included in an IDE that has support for Java.


What are the different phases of java?

Based on the lecture i have , there are three JAVA PHASES -- editor. First step in creating java program is by writing ur programms in a text editor. Ex, notepad, emacs etc -- java compiler. compile. The program by. Using the java compiler. The output of this process is a file of java bytecodes wid the file extension.class -- java interpreter. The .class file is then interpreted by java interpreter that converts the bytecodes into the machine language of the particular computer your using ---abioo4---