This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
henry deeker wrote: . . . Java How to Program (6th Edition) (How to Program (Deitel))
Agree. Get any of the "Java™ How To" books edition ≥ 6th. You can get them second-hand for a very reasonable price. But go through the Deitel Website first and see if you can find a sample chapter; many people dislike the Deitel style intensely. I suggest, if there is an "early objects" and "late objects" edition, got for "early".
henry deeker wrote:I am using Netbeans to compile and run. GOOGLE and download for free.
Disagree. NetBeans and other IDEs have a steep learning curve, so it is awkward to learn Java™ at the same time as the IDE.
How are you? When you are learning programming language, think first that, why you are learning it, it is not at all easy to learn, atleast not easy as it looks, you can think that you can learn java in 6 - 8 months, its not like that, you will only be aware of java, by that time. You need to be more and more careful and be patient while learning java. Make up your mind before you start, that learning java is a long term consistent process. I got mad in middle and i teared 2 java books. Because i was unable to solve few programs.
Important thing is that, 1.please find a good person, who can clear your doubts, you may think by yourself you will learn it. Becoz most of the people in forums post that they learn by themselfs, do not believe, may be there could be one person who might have learned by himself, rest are all liers. You need to talk to people more about concepts and understanding concept, no matter how much you read books, you can not understand few things, everything remins unclear.2. Always ask even simple doubts in forums,. 3. Code more than you read. This is very important.. After you do these things as times goes on you will feel confident.
Selecting a book to read is very much important. There are many books, which are more complicated, there are few books like simple and easy to understand, there are books which are moderate. Like beginners, intermediate, expert level... Choose beginners level book, Do not try to learn complete java at your first take. That is impossible. Learn java concept-wise. i mean follow one book, If you jump to different books, you may loose interest eventually. Take book, where you get more java examples to practice, and also where you can test your knowledge of java. Not all books are like that. They teach but they do not test. Its waste to learn with out taking test. because you may... i can not explain this. Many say go with head first java, its good. I also say its good. But it teachs you taking a simple project kind and it goes on expanding that project. I like it. But, But, But. you will not learn java like that, you will learn to do that particular project. For you to expand your knowledge you need a book like
Introduction to Programming by Daniel liang. This book has many examples, and also many practice exercises. Only this can help, I started with this, jumped to other books, bow i came back to it. Only this helped me to improve my knowledge, by doing more, you will know it more. THere are answers availble to this Books exercises, and self test. Ask people what is particular concept and practice examples on particular concept. as many as that book has.
After one year you will be feeling good and special than others,, If you stick to only this book. I don't feel that way,now, may be later i will feel. One more thing, be flexible while you learn java, try to listen to other people, but accept only what you feel you can be comfortable with.
All the Best.!!
"Slow and steady will win the race for sure."No matter what.
Joined: Apr 06, 2011
Thanks for your suggestion i feel better now i think in positive that i can do ...and thanks for welcoming me
Thank You guys
Joined: Apr 06, 2011
Thanks for the advice Mezan. I completely agree with you about seeing variety of projects. The simple one may put you to sleep thinking you understand.
henry deeker wrote: . . . This one for instance taught me a lot in short time, . . .
But it isn't Java™.
Joined: Apr 06, 2011
But it isn't Java™.
Not an accurate comment.
The code below is incorrect to a point, but a closer look at the example shows that it is Java™ code. Someone was lazy to put it all right as the example is used for C# and other languages. At least it is helpful.
public class Algebra
public static long Factorial(long x)
if (x <= 1)
return x * Factorial(x - 1);
That page looks really strange. It talks about NetBeans and creating a new Java class, and then it shows source code in C# in step 15. The code in later steps is in fact Java. Really strange, as if the person who made that page doesn't really know what he's talking about...
This code is one of the most basic Java classes you will see...
This code is runnable!
// = comments that you can use while writing java
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
I need to learn java by self please suggest your opinion
1)for doing practical work in my system what i have to install to my system i got some idea about java but i have got practical knowledge
2)after my installation i need to do some basic sample so that i can get some idea practically please suggest from where can i start
3)which tool ll be preferable (i have jdeveloper installed in my system) ..
4)which ll be the best book for java beginners one of friend suggest me to learn(HEAD FIRST JAVA book) tell me your opinion
help me in learning
My suggestion is that you just use notepad++ jdk & jre also to buy HEAD FIRST JAVA it is very easy to understand i'm reading it will force you to learn it because it will heave cross word puzzles then it will have questions for you to answer, it will have the code messed up and gotta put it back, also it will have you be the complier try not to run it tho the computer think of it in your mind and you will begin to learn java very easy and quickly the book have 19 chapters..
I read through all the posts, and didnt find anyone suggesting Head First JAVA (except the initiator of the post). I'm a bit surprised, since I found that book very helpful.
And I think using an IDE can be harmful in the early stages, since an IDE will point out many mistakes to the programmer;instead, if notepad is used and programs compiled/run from the command prompt, all such mistakes will throw errors/warnings, providing a good opportunity to learn.
If you really want to learn and explore JAVA I'll recommend you to NOT to USE any sort of third party suites like NET BEANS IDE or ECLIPSE ...
use notepad++ or some similar application ...
write code yourself ... do not just copy and paste
and try to know why something is happening the way it is happening rather than just taking it that way (that it happens like this only)
happy coding ...
and yes a good book for startup is HEAD FIRST JAVA