This week's book giveaways are in the Jython/Python and Object-Oriented programming forums.
We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Head first java

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I've been reading head first java the 2nd edition and I can't but notice that as of right now there are no real programming exercises. I am on chapter 5 and looked ahead as well and didn't see that much changes. I hope someone proves me wrong on that statement.

I know I can practice what I'm learning on my own, but are there any books for beginners that set out their own exercises for the reader to code on his own?
 
Ranch Hand
Posts: 133
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was looking for the exact same thing. I find that I watch youtube videos (which are great), but I really long for a book that says "after learning skillset 1,2,3 - try this program" etc.
 
Carlos Hernandez
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David De wrote:I was looking for the exact same thing. I find that I watch youtube videos (which are great), but I really long for a book that says "after learning skillset 1,2,3 - try this program" etc.



Same here David, youtube is great but at the end of the video your really only copying someone and not putting it into practice. I do like to reference youtube for an explanation though when I get stuck on something. And I have watched a series or 2 in the past when I was learning C++.

I really liked a book called c++ primier for c++. It would have problems to code up after every section and was great for learning and practice. It was a little dry compared to head first java but it worked. Just need an equivalent book for java.

Found this on another link in this forum and it might be good. Haven't really looked through it but it does have programming exercises.

http://math.hws.edu/eck/cs124/downloads/javanotes7-linked.pdf
 
Patrick De
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I purchased a couple of Java books, Java all in one for Dummies, computer science using java etc and I am quite surprised that they are all laid out the same. I would really prefer : teach a concept, test on the concept, next concept. Maybe it is just my learning style, but I haven't found one that does that.
 
Patrick De
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey maybe we can help each other out.
I just finished a counting change program - have you tried that?
The next one I am going to try is a string of words in an array, find the length and then pick one of the words using a random number generator. I was thinking maybe like adlibs - where it will put the random word in a story, making sure that nouns are a separate list, verbs etc.
 
Carlos Hernandez
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David De wrote:Hey maybe we can help each other out.
I just finished a counting change program - have you tried that?
The next one I am going to try is a string of words in an array, find the length and then pick one of the words using a random number generator. I was thinking maybe like adlibs - where it will put the random word in a story, making sure that nouns are a separate list, verbs etc.



That would be great. Although I'm just barely learning the syntax of java so I'm quite far from being able make anything as of now but I think I can get up to speed pretty fast since I am familiar with other languages. I did take a look at your coin program, do you know how to modify it to take an object oriented approach?
 
Patrick De
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For object oriented, I would have to start from scratch and I am not there yet. I am sure there is a simple way, but I am still trying to get my head around classes and methods. I have read three descriptions of each, but they just don't make sense no matter how many analogies I read.
 
"To do good, you actually have to do something." -- Yvon Chouinard
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!