This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying out simple programs like-- to find GCD etc. Can you please tell me how can a user feed input from keyboard in command prompt/in java.I have searched in google,but could not understand properly.It being my first day of programming in java,I am not getting how to use KeyboardReader or Scanner class.Which package do I need to import to work with either of these?
Please suggest an easy way to feed the input data
Thank you both.
My problem is solved and I found the tips to be really useful.I know these are the most basic things in Java.But for a child, alphabet series appears to be the most difficult thing invented.So is in my case.
Thank you again.