Interactive Java workbook
Companion book to the Interactive Java workbook task collection
Start programming in Java from scratch - beginner friendly style.
- Learn coding in the IDEA IntelliJ professional IDE for Java
- 30 theory lessons (PDF, EPUB) with 150+ executable code examples (ZIP file - course for Intellij Academy plugin)
- 480+ diverse programming tasks: answer questions, complete code, correct syntax errors, correct code, write alternative solutions (ZIP file - course for Intellij Academy plugin)
- Tasks start very easy and gradually work toward medium ones, and finally the hard ones.
- We got you covered! All tasks come with automated tests to see if your solution is correct, but also a predefined solution which can be compared side-by-side with your solution. More complex tasks come with hints to help you solve them.
- If that is not enough, and you still feel confused about some task, there are 200+ explanation videos which explain the solution to medium and hard tasks step-by-step (explanation videos are sold separately).
This book is available in multiple packages!
Start programming in Java from scratch - beginner friendly style.
- Learn coding in the IDEA IntelliJ professional IDE for Java
- 30 theory lessons (PDF, EPUB) with 150+ executable code examples (ZIP file - course for Intellij Academy plugin)
- 480+ diverse programming tasks: answer questions, complete code, correct syntax errors, correct code, write alternative solutions (ZIP file - course for Intellij Academy plugin)
- Tasks start very easy and gradually work toward medium ones, and finally the hard ones.
- We got you covered! All tasks come with automated tests to see if your solution is correct, but also a predefined solution which can be compared side-by-side with your solution. More complex tasks come with hints to help you solve them.
- If that is not enough, and you still feel confused about some task, there are 200+ explanation videos which explain the solution to medium and hard tasks step-by-step (explanation videos are sold separately).
About
About the Book
This workbook covers the basics of object-oriented programming in the Java programming language. The
assumption is that the user knows nothing about programming and starts "from scratch."
It consists of a free companion book (in PDF or EPUB formats) but, more importantly, a multi-volume collection of tasks which are provided as ZIP files (extras) containing complete courses for the IntelliJ Academy plugin.
Programming is one of those skills that is best learned through practice. That’s why you often hear and read:
"Programming is learned through programming."
No one has learned to program simply by reading books or watching tutorials. Theory is essential, but it’s necessary to "roll up your sleeves" and program what you're learning. This means: creating your own program, doing a large number of examples, trying different solution variants, analyzing and improving other people's programs, etc.
This is exactly the motivation behind writing this workbook. There are numerous online courses, textbooks, tutorials, and educational software that contain important lessons about programming. However, there are very few interactive task collections that allow you to solidify that knowledge through concrete programming examples and diverse tasks.
Unfortunately, most of the available task collections are part of online courses, meaning that you cannot practice programming in a real-world software development environment, but through a web-browser and online-based environments with very limited features. That's why this workbook is provided as an addition of the IDEA IntelliJ enterprise-grade software development environment (actually, its Academy plugin), so one can get used to working in such a setting where all the features and tools available to a professional programmer are present.
Feedback
Packages
Pick Your Package
All packages include the ebook in the following formats: PDF, EPUB, and Web
FREE - The Book with demo tasks starter kit
Minimum price
Suggested price$0.99Contains: - The FULL version of the Interactive Java workbook (PDF and EPUB) - About 100 DEMO tasks with for the IntelliJ Academy plugin covering the first several lessons (see book extras, ZIP file "Interactive Java Workbook 1.zip"). - Solution explanation videos for these demo tasks are available free of charge via Ko-fi. If you like the book and the tasks, please consider buying the full version with all tasks.
Free!
- Interactive Java workbook part 1 tasksThis file contains tasks for the Interactive Java Workbook, designed as a course for the IntelliJ Academy plug-in and should be loaded directly into IntelliJ. The topics covered in part 1 (6 theory lessons + 102 tasks): - Introduction to Java - Class - Attribute - Objects, program execution and output to the screen Solution explanation videos are sold separately, but are available free of charge for the tasks in this part 1. They are available by subscribing to membership tiers on Ko-fi (please see the Video explanations tier).
The Book with full set of tasks for IntelliJ Academy
Minimum price
Suggested price$8.99Contains: - The FULL version of the Interactive Java workbook (PDF and EPUB) - ALL 480+ tasks for the IntelliJ Academy plugin (see book extras, ZIP files inside). Solution explanation videos are sold separately via monthly memberships on Ko-fi.
$8.99
- Interactive Java workbook part 1 tasksThis file contains tasks for the Interactive Java Workbook, designed as a course for the IntelliJ Academy plug-in and should be loaded directly into IntelliJ. The topics covered in part 1 (6 theory lessons + 102 tasks): - Introduction to Java - Class - Attribute - Objects, program execution and output to the screen Solution explanation videos are sold separately, but are available free of charge for the tasks in this part 1. They are available by subscribing to membership tiers on Ko-fi (please see the Video explanations tier).
- Interactive Java workbook part 2 tasksThis file contains tasks for the Interactive Java Workbook, designed as a course for the IntelliJ Academy plug-in and should be loaded directly into IntelliJ. The topics covered in part 2 (10 theory lessons + 109 tasks) - Methods and arithmetic operators - Constructor - Global variables and methods - Constants - Relationships - Enumerated type Solution explanation videos are sold separately. They are available by subscribing to membership tiers on Ko-fi (please see the Video explanations tier).
- Interactive Java workbook part 3 tasksThis file contains tasks for the Interactive Java Workbook, designed as a course for the IntelliJ Academy plug-in and should be loaded directly into IntelliJ. The topics covered in part 3 (8 theory lessons + 167 tasks) - Algorithms and control statements (introduction) - The if statement - The switch statement - The for statement - The while statement - The do-while statement Solution explanation videos are sold separately. They are available by subscribing to membership tiers on Ko-fi (please see the Video explanations tier).
- Interactive Java workbook part 4 tasks The Book with full set of tasks for IntelliJ Academy
Author
About the Author
Bojan Tomić
Hi!
I am a teacher of programming and programming enthusiast.
My passions include creating applications and teaching others how to do it.
At some point, I realized that learners abandon programming courses because:
1. they (learners) do not get enough practice
2. everything gets too hard too fast
3. getting good quality feedback during practice is difficult
What was missing was some good, pedagogically sound interactive practice materials for learning how to program. The assignments should start very easy and work gradually towards harder ones. Learning should be available (and affordable) to all, and I hope that the materials available here prove to be useful.
I am also an avid cyclist and believe in green transport solutions.
Happy coding! (and cycling also :)
Contents
Table of Contents
- Introduction
- What is a class?
- What are attributes
- Objects, program execution and printing on the screen
- What’s next?
- Methods
- Arithmetic operators
- Variable scope
- Method overloading
- Parameter passing
- Constructor
- Global variables and methods (static)
- Constants (final)
- Relationships
- Enumerated type (enum)
- Algorhitms and algorithmic structures - introduction
- Overview of control (flow) statements in Java
- The if statement
- The switch statement
- The for statement (loop)
-
The while statement (loop)
- Lesson content
- What is the while statement - declaration and elements
- Nesting statements within a while loop
- The break, return, and continue statements
- Alternative writing of the while loop
- Infinite while loop
- Un-executable while Loop
- When to use a while loop and when to use a for loop, alternative writing of the while loop as a for loop and vice versa
- Most common errors
-
The do-while statement (loop)
- Lesson content
- What is the do-while statement - declaration and elements
- Nesting statements within the do-while loop
- The break, return, and continue statements
- Alternative writing of the do-while Loop
- Infinite do-while loop
- Un-executable do-while loop
- When to use for and while loops vs. do-while loop, alternative writing of one type of loop using another
- Most common errors
- Arrays - introduction
- The for-each statement
- Algorithms for working with arrays - an overview
-
Array algorithms for searching and displaying/retrieving element values
- Lesson content
- About algorithms for searching and displaying/retrieving array elements
- Searching and displaying all array elements (in normal or reverse order)
- Searching and displaying only certain array elements (in normal or reverse order)
- Searching and retrieving specific values from the array (first or last occurrence)
- Searching and counting specific values in the array
- Most common errors
-
Array algorithms for adding/inserting element values
- Lesson content
- About algorithms for adding elements (values) to an array
- Setting all array elements to a specific value
- Adding a value to the first/last free position
- Adding/inserting a value while maintaining array order (e.g., ascending or descending)
- Inserting a value into a specific position in the array
- Most common errors
-
Array algorithms for replacing element values
- Lesson content
- About algorithms for replacing (values of) array elements
- Replacing a value in a specific position in the array
- Replacing a specific value in an array at all found positions
- Replacing a specific value in an array (first or last found)
- Shifting all elements of an array by one position “right” or “left”
- Most common errors
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.