importjava.util.Scanner;/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. *//** * * @author user */publicclassEjercicio03{publicstaticvoidmain(String[]args){Stringnombre=newString();Scannersc=newScanner(System.in);nombre=sc.nextLine();System.out.println("Bienvenido "+nombre+"!");}}