The first step before starting to learn coding to make the program, usually the first dumulai should I write the word, which is usually in a programming language called "Hello word".
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author Ecko Zulkaryanto */ public class Hello { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here System.out.print(”\n\t\tThis is Java Programming Language\n”); System.out.println(”\t\t Welcome to Java Programming”); } }
If you've ever learned C / C + + usually understand coding directly above. For the new in java, install JDK first, then can compile and run / running this code. after the install and make his path, compile this program on the console or command prompt (type in start menu> run> type "cmd"> enter). then go to the directory on coding files that already given the name "Hello.java". to compile type the command "javac Hello.java" and for running type the command "java Hello". More easy to use compilers, ex: "NetBeans", can also peke eclipse, or the more easily use jcreator.
1 comments:
Good to know about basic Java Programming. Get more detailed info of History of Java and other programming languages with their evolution and lots more only at Computer Programming Languages.
Post a Comment and Don't Spam!
Dont Spam please