/* * 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. */packageejercicios;importjava.util.Scanner;/** * * @author roshka */publicclassEjercicio04{publicstaticvoidmain(String[]args){// TODO code application logic hereStringnombre;Scannerscn=newScanner(System.in);System.out.println("Introduzca su nombre: ");nombre=scn.nextLine();System.out.println("Bienvenido "+nombre);}}