Problem scenario
You want to create a basic Java program that can read alphanumeric input interactively. How do you write such a program?
Solution
1. Verify the “javac” command works. Run “man javac” to see the man page. If you do not get a man page, install the Java development tools. On a RedHat derivative, run this: sudo yum -y install java-devel
2.
…
Continue reading “How Do You Write a Java Program to Read in Letters and Numbers?”