clavier java code example Example 1: entre clavier java Scanner sc = new Scanner(System.in); Example 2: entre clavier java import java.util.Scanner;