Java: Programa Eco

From AdonaiMedrado.Pro.Br
Revision as of 00:34, 14 August 2010 by Adonaimedrado (Talk | contribs) (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…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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);
    }
}