In java, how do you input something from the keyboard - the standard way(don't import anything - or add a file)

Thanks!

Recommended Answers

All 3 Replies

Never Mind - i got the answer.

But, could you help me on my other post, about constructors and Strings?

By giving the variables as Integer.parseInt(args[0]) or by InputStreamReader

correct

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.