وبلاگ بلیان

Learn Java the Hard Way, 2nd Edition

جلد کتاب Learn Java the Hard Way, 2nd Edition

معرفی کتاب «Learn Java the Hard Way, 2nd Edition» نوشتهٔ Prakhar Gupta، Mudit Yadav و Graham Mitchell، منتشرشده توسط نشر 2 در سال 2016. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Table of Contents......Page 4 Acknowledgements......Page 7 Preface: Learning by Doing......Page 8 Introduction: Java......Page 9 Exercise 0: The Setup......Page 12 Exercise 1: An Important Message......Page 28 Exercise 2: More Printing......Page 35 Exercise 3: Printing Choices......Page 38 Exercise 4: Escape Sequences and Comments......Page 41 Exercise 5: Saving Information in Variables......Page 44 Exercise 6: Mathematical Operations......Page 47 Exercise 7: Getting Input from a Human......Page 50 Exercise 8: Storing the Human's Responses......Page 53 Exercise 9: Calculations with User Input......Page 59 Exercise 10: Variables Only Hold Values......Page 61 Exercise 11: Variable Modification Shortcuts......Page 64 Exercise 12: Boolean Expressions......Page 68 Exercise 13: Comparing Strings......Page 71 Exercise 14: Compound Boolean Expressions......Page 73 Exercise 15: Making Decisions with If Statements......Page 76 Exercise 16: More If Statements......Page 78 Exercise 17: Otherwise (If Statements with Else)......Page 80 Exercise 18: If Statements with Strings......Page 82 Exercise 19: Mutual Exclusion with Chains of If and Else......Page 84 Exercise 20: More Chains of Ifs and Else......Page 87 Exercise 21: Nested If Statements......Page 91 Exercise 22: Making Decisions with a Big Switch......Page 94 Exercise 23: More String Comparisons......Page 97 Exercise 24: Choosing Numbers Randomly......Page 101 Exercise 25: Repeating Yourself with the While Loop......Page 106 Exercise 26: A Number-Guessing Game......Page 109 Exercise 27: Infinite Loops......Page 112 Exercise 28: Using Loops for Error-Checking......Page 115 Exercise 29: Do-While loops......Page 118 Exercise 30: Adding Values One at a Time......Page 122 Exercise 31: Adding Values for a Dice Game......Page 125 Exercise 32: The Dice Game Called `Pig'......Page 128 Exercise 33: Calling a Function......Page 133 Exercise 34: Calling Functions to Draw a Flag......Page 136 Exercise 35: Displaying Dice with Functions......Page 140 Exercise 36: Returning a Value from a Function......Page 149 Exercise 37: Areas of Shapes......Page 155 Exercise 38: Thirty Days Revisited with Javadoc......Page 159 Exercise 39: Importing Standard Libraries......Page 164 Exercise 40: Programs that Write to Files......Page 168 Exercise 41: Getting Data from a File......Page 173 Exercise 42: Getting ALL the Data from a File......Page 176 Exercise 43: Saving a High Score......Page 179 Exercise 44: Counting with a For Loop......Page 183 Exercise 45: Caesar Cipher (Looping Through a String)......Page 187 Exercise 46: Nested For Loops......Page 191 Exercise 47: Generating and Filtering Values......Page 193 Exercise 48: Arrays - Many Values in a Single Variable......Page 196 Exercise 49: Finding Things in an Array......Page 198 Exercise 50: Saying Something Is NOT in an Array......Page 200 Exercise 51: Arrays Without Foreach Loops......Page 203 Exercise 52: Lowest Temperature......Page 209 Exercise 53: Mailing Addresses (Records)......Page 214 Exercise 54: Records from a File......Page 217 Exercise 55: An Array of Records......Page 221 Exercise 56: Array of Records from a File (Temperatures Revisited)......Page 225 Exercise 57: A Deck of Playing Cards......Page 230 Exercise 58: Final Project - Text Adventure Game......Page 235 Next Steps......Page 244
دانلود کتاب Learn Java the Hard Way, 2nd Edition