Take a look at vigneswaras example. Good work.
He is using a buffered reader to take user input from the console.
This can also be done using the Scanner class. Here is an example:
...
Type: Posts; User: JavaPF
Take a look at vigneswaras example. Good work.
He is using a buffered reader to take user input from the console.
This can also be done using the Scanner class. Here is an example:
...
Hello jempot and welcome to the Java Programming Forums!
I hope this example will help you.
public class Jempot {
public static void main(String[] args) {