Guest User

Untitled

a guest
Oct 20th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.57 KB | None | 0 0
  1. public class Name{
  2.     public static void main(String args[]){
  3.         // This is where your program begins. You start your code here.
  4.         // When you run a program, in this case Name.java it will look for the main method
  5.         // This method must be static.
  6.         // The main method must provide an array of strings as an argument
  7.         // This is for arguments passed when you run the java file
  8.         // For example, if your ran the following command
  9.         // java Name hello word
  10.         // Then args would contain args[0] = "hello" args[1] = "world"
  11.         // While this can be useful, it's rarely used.
  12.     }
  13. }
Add Comment
Please, Sign In to add comment