Difference between revisions of "Java: Programa Eco"

From AdonaiMedrado.Pro.Br
Jump to: navigation, search
(Created page with '<code lang=java> import java.util.Scanner; public class Eco { public static void main(String[] args) { Scanner leitor = new Scanner(System.in); String te…')
 
(No difference)

Latest revision as of 00:34, 14 August 2010

import java.util.Scanner;
 
public class Eco
{
    public static void main(String[] args)
    {
        Scanner leitor = new Scanner(System.in);
        String textoLido = leitor.next();
        System.out.println(textoLido);
    }
}