• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trying to understand Puzzle4..Head First  RSS feed

 
qsas sasa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!! I'm trying to understand the sharpen your pencil Class Puzzle4 from head first java.. But the math and the logic is confusing me... I hope someone can give me some explanation before I move on in the book... The output of the code should be Result 543345





ivar is an instance and the value of it is unique to every object is that right?? The logic of the method is confusing me. I understand that x is the argument to

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!