Ask a Teacher



how to write a java program.

Java is a high level programming language that allows us to create programs. It is among the more basic computer languages and very easy to learn.
To program in Java (not JavaScript, an unrelated language), you need a compiler, a program to convert Java source code to byte code

Open a word document. 

Java script is written in any word processor that can create TXT files.

After the word document is opened, type in the code for the program you intend to use.

Save the file referencing Java. Something.java

Java is case sensitive, so in the file-name the first word must be capitalized, but Java must not.

Run the program through MS-Dos or other software.




comments powered by Disqus