FileDocCategorySizeDatePackage
EuroLanguage.javaAPI DocExample514Sun Feb 22 19:54:40 GMT 2004None

EuroLanguage.java

/* Make sure the compiler accepts European languages everywhere.
 * May require a locale to be set before it will compile!
 * But if you rename the class to, say, Español, many runtimes will be confused.
 */
public class EuroLanguage {
	public static int número;
	public static void main(String[] args) {
		System.out.println("Acción!");
		acción(123);
		System.out.println("Número = " + número);
	}
	public static void acción(int costa) {
		System.out.println("Su tarjeta cuesta los " + costa);
		número++;
	}
}