daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Oct 20th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top