CORBA Example

Then use the next() method on the Scanner object to read the line. System.out.print("Enter your input: "); String s = in.next(); It is important to note that in.next() returns a String object of input to be used by the program. Say you use .next() but want to use the input as something other than a String… ................
................