Here you can find the source of getTypedValue(String question)
public static String getTypedValue(String question)
//package com.java2s; //License from project: Open Source License import java.util.Scanner; public class Main { private static Scanner scan = new Scanner(System.in); public static String getTypedValue(String question) { System.out.println(question); String msgRead = scan.nextLine(); return msgRead; }/*from ww w . j av a 2 s .co m*/ }