Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to write hello world in jaba

//declare class
public class main{
//declare static and the return type, followed by paraameters
public static void main(String [] args)
//remember, System.out.println("");
System.out.println("Hello World!");
//or if you dont want the next line of text to be on the 
//next line remove the ln after System.out.print as so
System.out.print("Hello World!");
}
//Happy coding! :)
}
Source by inlarn.com #
 
PREVIOUS NEXT
Tagged: #write #world #jaba
ADD COMMENT
Topic
Name
3+2 =