The best way of learning is by doing. Write small programs yourself and experiment. There are many, many books on Java, some more theoretical, some more hands-on. Oracle's free, online Java Tutorials are also a good way to start learning Java.
Java Stub wrote:Please share some of the best way to learn JAVA in a practical way not by theoretical way.
Well the first thing to learn is that it's "Java", not "JAVA". Some of us old farts are a bit picky about things like that; and it's also a good first lesson:
Java is case-sensitive, so you can't be sloppy about spelling, or punctuation.
Secondly: Practise is great, but it'll only get you so far. At some point you will have to learn some theory; otherwise you'll be condemned to writing programs like a parrot.
Isn't it funny how there's always time and money enough to do it WRONG?
There are a good deal of problems that'll describe a method, and you have to write it to do what was described. Then you can have it check for you (it sends it to a server that runs it).
This is perfect if you are the kind of person that is fine with learning Java but doesn't know what to write for practice. (I loved it, finished every problem. )
Of course, you'll need to learn some Java first. I recommend their reading and any other basic Java tutorials you can find online. Or a book, those things are great! ;)
I would disagree with your advice about the Schildt book, which is by no means suitable for beginners. I would also disagree about IDEs; they are often difficult to learn, and make things harder for beginners. I suggest you start with our FAQ. Agree with the advice about which website to look at . If you go to that site, you can find book reviews, too.
Simply put: There is no simple solution. You either learn or you don't. Chances are, if you're smart (and I assume you are; otherwise you wouldn't be asking the question), you'll be able to become conversant with the language in a month, and a decent practitioner in a year. After that it's practise, practise, practise.
As for books: Head First Java is oft-quoted here; after that: Effective Java would be my suggestion. But neither will shield you entirely from some theory.
Joined: Oct 13, 2005
Winston Gutkowski wrote: . . . I dont want to discourage you, . . . no simple solution. . . .
Welcome to Java.My professor told me the best way to learn Java is to install the Java SDK and use a notepad. Compile the programs from the command line and try to learn javap. This has helped me a lot, the basics you learn will be rock solid.