Guys ,
I'm a newbie Java programmer .. 3rd year comp sci engineering student and a C++ programmer with around average programming skills I should say :D !I find it kinda weird that reading something from keyboard is such a pain in java .. Importing DataInputStream , the creating and allocating memory to an object , then Readline and all ! Why cant i just use System.in.read(); ?

In C++ , all you gotta use is dear old cin>> !!!! Pls suggest a simpler method

I had the same problem when I started Java, but you'll get over it. The solution I found was to:

Use the Scanner class. Go read the API stuff, then ask more questions if need be.

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.