Minimum price
Suggested price


More than Hundred Difficult Problems with Solutions - Explained Step by Step, Designed for Absolute Beginners

About the Book

Here, in this first Java bootcamp, we will start writing code first. If you cannot take a short swim in the pool, you cannot learn swimming. Therefore, we will learn about objects and classes, primitive data types, arrays, logical if-else, switch-case, loop constructs, etc by solving problems.

Let us start with small programs, the result follows; since it is caused by some phenomenon, we will learn the theory thereafter. We will study the problem first, then we solve it and practice some more relevant problems. After that we will discuss theory.

In this way, we will learn how to find Prime, Palindromic Prime, Duck, Armstrong or Narcissistic Number, Special Number, etc. We will learn the Algorithm behind every code.

After all, we want to build many applications with the help of Java, that is our main purpose of learning Java. Although the Abstraction stays behind the curtain, we will learn them with the help of our problems.

As we progress, by solving more than 100 problems from simple to complex, we will learn the Java language basics and its related core concepts.

This book will empower computer science and programming students to learn the language basics of Java; so that, they could build applications in Java. It is for the first time that a book with a "problems-solutions-explanations" approach using “Direct Method”; it is like an intensive coding bootcamp where participants will take active part to develop their logical and analytical thinking so that they could solve interactive problems. For that reason, we will get our head around the basics of Data Structures and Algorithm also.

We are learning the language basics of Java together to solve many types of problems first. It will help us to build applications that are discussed in the next Java bootcamp series, where we will develop applications.

  • Share this book

  • Categories

    • Java
    • Computer Science
    • Computers and Programming
    • Software Architecture
    • Software Engineering
  • Installments completed

    1 / 3

  • Feedback

    Email the Author(s)

About the Author

Sanjib Sinha
Sanjib Sinha

A Freak, in an absurd journey that starts from nowhere, and ends up nowhere.

Table of Contents

  • Chapter One: Java, a High Level Language with a Purpose
    • Who Should Read this Book and What about the Next Bootcamp
    • High Level to Machine Language
    • Memory allocation, heap and stack
    • What are Objects, Why they are Important
  • Chapter Two: Java Standard Edition Development Kit and IDE
    • Java SE Development kit
    • IntelliJ IDEA 2018.2.4 Community Edition
  • Chapter Three: How Java Programming Works
    • Difference between POP and OOP
    • Java program is written within a class
  • Chapter Four: Objects and Data Types
    • Objects Share Two Characteristics
    • Variables or Fields in Java
    • Primitive Data Types
  • Chapter Five: Variables, the Name of a Field
    • Difference between Variables
  • Chapter Six: Array the Container Object
    • An Array in Disarray
    • What is an Array
    • Apache Commons Lang
  • Chapter Seven: Operators and Conditional Statements
    • Arithmetic and Unary Operators
    • Equality, and Relational Operators
    • Conditional Operators
    • InstanceOf Operators
    • Control Flow – Part One
  • Chapter Eight: Iterative Constructs, Entry and Exit Controlled Loops
    • Entry Controlled loop: Fixed and Unfixed Iteration
    • For or While, it Depends
    • A brief introduction to Algorithm
  • Chapter Nine: Basic Input and Output in Java
  • Chapter Ten: Classes and Objects
    • Polymorphism in Java
  • Chapter Eleven: Interface and Abstraction
  • Chapter Twelve: Exception Handling
    • A Brief Note on Exception Handling
  • Chapter Thirteen: Data Structure, A Brief Introduction
    • What Next

Causes Supported

Amazon Watch

Supporting Indigenous Peoples. Protecting the Amazon.

Amazon Watch is a nonprofit organization founded in 1996 to protect the rainforest and advance the rights of indigenous peoples in the Amazon Basin. We partner with indigenous and environmental organizations in campaigns for human rights, corporate accountability and the preservation of the Amazon's ecological systems.

We envision a world that honors and values cultural and biological diversity and the critical contribution of tropical rainforests to our planet's life support system. We believe that indigenous self-determination is paramount, and see that indigenous knowledge, cultures and traditional practices contribute greatly to sustainable and equitable stewardship of the Earth. We strive for a world in which governments, corporations and civil society respect the collective rights of indigenous peoples to free, prior and informed consent over any activity affecting their territories and resources. We commit, in the spirit of partnership and mutual respect, to support our indigenous allies in their efforts to protect life, land, and culture in accordance with their aspirations and needs.

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...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, 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.

Learn more about writing on Leanpub