bonjour
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Textprg;
import java.util.Scanner;
public class Greeting 
{
	public static void main(String[] args)
    {
        String userName;
        String upperCaseName;
        TextIO.put("Please enter your name");
        userName=TextIO.getIn();
        upperCaseName=userName.toUpperCase();
        TextIn.putIn("Hello"+upperCaseName+"nice to meet you!");               
    }
}
en compilant mon prg, j'ai erreur suivantes
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The method getIn() is undefined for the type TextIO
TextIn cannot be resolved

at Textprg.Greeting.main(Greeting.java:10)

aidez s'il vous plaît

pour le TextIO voir le site suivante

http://www.faqs.org/docs/javap/source/TextIO.java