🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #29248

Re: �Es posible?

#29248
From: Likem
Date: Tue, 20 Jan 1998 00:00
19 lines
1582 bytes
In article <34B6495F.AE0EF79B@uco.es>, Juan Pedro Barbancho Manchon <ct2bamaj@uco.es> writes:
>> >
>> > > �Es posible hacer en java funciones con n�mero variable de
>> par�metros?

      Bueno, es posible crear funciones con el mismo nombre y con diferentes
argumentos, pero creo que esto se limita a los constructores de clase.
Intenta hacerlo con funciones normales y si compila, cuando llames a cada una
escogera la que cuadre con la llamada que hayas hecho. 
                                                      
  ##    *     *  *    * *            
   ##   *     * *    *   *      *     *       Alejandro de las Heras Jorge
   ##   *     **     * * *     *   *   *      alexheras@lettera.skios.es
   ##    * *  * *    *        *         *     b940086@zipi.fi.upm.es
  ##  #############   * *     *         *     bp19466c54@colon.net
 ######           #######################     http://zipi.fi.upm.es/~b940086
  La mayoria de los hombres, no sabiendo que hacer en esta vida, desean 
otra que no tenga fin.
Technical Details
Message-ID: <6a1n25$lcb$1@panoramix.fi.upm.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bd1cec$42633760$a31fa8c0@cirus04> <34B60545.B977F15A@uco.es> <01bd1d13$f49a9f00$a31fa8c0@cirus04> <34B6495F.AE0EF79B@uco.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: 1116f3,cd64f194be4ad84f
X-Google-Attributes: gid1116f3,public
From: b940086@zipi.fi.upm.es (Likem)
Subject: Re: �Es posible?
Date: 1998/01/20
Message-ID: <6a1n25$lcb$1@panoramix.fi.upm.es>
X-Deja-AN: 317624044
References: <01bd1cec$42633760$a31fa8c0@cirus04> <34B60545.B977F15A@uco.es> <01bd1d13$f49a9f00$a31fa8c0@cirus04> <34B6495F.AE0EF79B@uco.es>
Reply-To: b940086@zipi.fi.upm.es
Organization: Facultad de Informatica - UPM, Madrid, Spain
Newsgroups: es.comp.lenguajes.java