🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17979

Main (String[] args)

#17979
From: Zachary Gastineau
Date: Thu, 27 Aug 1998 00:00
10 lines
792 bytes
Could someone tell me how to pass and use arguments with in a simple program
i.e.

public class BasicProgram {
   public static void main(String[] args)   {
      System.out.println(args); // ???????????????????
   }
}

many thanks.
Technical Details
Message-ID: <6s44oi$em5$1@supernews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,64c7ad44d9230362,start
X-Google-Attributes: gidf74b3,public
From: "Zachary Gastineau" <gastineaus@nashville.com>
Subject: Main (String[] args)
Date: 1998/08/27
Message-ID: <6s44oi$em5$1@supernews.com>
X-Deja-AN: 385338112
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Complaints-To: newsabuse@supernews.com
X-Trace: 904238674 4TJCV727NB45FCF41C usenet52.supernews.com
Organization: Tennessee Farmers Cooperative
Newsgroups: borland.public.jbuilder.java.language