You can use the print statement to directly print it to the console.First accept the info in some variable.If user info is stored in variable userinfo then,syntax is:-System.out.println(userinfo), /*print to the console*/If there are multiple info variables then repeat this block that many times.