I know this will come like a stupid question but will ask anyway, i am currently studying java. I am into second semester already. I know the basic like arrays, if, for.. those things.
Now i am trying to study at ome while waiting for school to starts but i do not know what to study first! I am haing trouble with inheritance, what a static means because the books i have cannot explain it well. You know the saying that you wont learn via reading but by practicing and really writing codes.
So my question is really this, do i really need to to learn inheritance, hierarchies and multi level hierarchy, recurcion at this point? ANd more importantly do i really need all those stuff or i am just beating myself up for something that should be for intermediate and not for begineers like me?
IMHO, I think you should. Those things that you mentioned are indeed for beginners And yes, in order to understand the concept better, you need to try it out in your favorite IDE/text editor instead of just reading it.
If you have any questions, feel free to post your questions in this forum. There are a lot of people here who are more than happy to help you.
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
I applaud you for wanting learn more during the summer.
Originally posted by Beth Laguardia: I am having trouble with inheritance, what a static means because the books i have cannot explain it well. . . . So my question is really this, do i really need to to learn inheritance, hierarchies and multi level hierarchy, recursion at this point? And more importantly do i really need all those stuff or i am just beating myself up for something that should be for intermediate and not for beginners like me?
Understanding inheritance and polymorphism is critical to becoming a good developer. And it is not something just for intermediate developers. In fact, IMHO, the sooner you understand it, the easier programming will be, and the easier other more advanced concepts will be to learn.
You can take a look at the Campfire story How my Dog learned Polymorphism available here at JavaRanch. I would also highly recommend the book Head First Java (links to it at Amazon , at BookPool, and at the publisher's web site). Head first Java is a great book and has been a best selling Java book. If you look around here at the ranch, you will find an enormous amount of praise for it. In particular, its coverage and explanation of inheritance and polymorphism is great. I really think it will help solidify the concepts for you. And it will help with other general concepts. And the best part is that it is a fun book to read. Yes, a tech book that is fun. The Head First series is very different. You can take a look at the about page at the HeadFirstLabs.com web page, which explains the learning theory behind their books.
Like others, I agree that getting your hands in code and playing around with it is one of the best ways to learning coding. However, I think having some guidance when doing such is very helpful. So grab Head First Java, or some other book, read a little, then go play around with the things you just read about. See what happens when you change things a little. Then make sure you understand why what happened happened when you made the change. If something doesn't make sense, post a question about it here at the ranch. Then read a little more. Rinse and repeat.
As for recursion... that's one of those things that many new developers struggle with. It is important to understand the concept of it. And to be able to recognize when it is appropriate. I don't think Head First Java talks much about recursion. But I am sure there are some other good resources out there on it. I'll do some digging through my resources list and see if I can find something for you.
Good luck with your studies. I hope you find Development as enjoyable as I do. We look forward to seeing you around the ranch. [ June 01, 2008: Message edited by: Mark Vedder ]
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Jun 01, 2008
I really really appreciate he response and Mark i will goto the link that you just posted. The book i am reading now is "Java: A beginners' Guide By Herbert Schldt" and its really a pain in the a**. I really cannot understand it. I am having a har time with it. I actually have three books of java. Just reading it is not enough, i need to really practice.
MArilyn, i have not read the linked that you posted but i will surely do. I hope you still can help me if i still won't be ale to understand it.