Without Keyboard input assinging value to String name
Java file: ConsoleInputReader.java which is prompting us for key Input.Our requirement is that we can not modify this file as you can think as venodor specific file.
our requirement is that using batch file or ant file or any other means without modifying this java file we have to print the name variable of this java file
public class ConsoleInputReader
public static void main(String args) throws Exception
static void inputProcess() throws Exception
System.out.println("Please Enter your name");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String name = br.readLine();
System.out.println("Your Name is "+ name);
Awaiting for reply.
Thanks and Regards