100 Problems in Java
This book is 60% complete
Last updated on 2019-12-08
About the Book
Yet another Java book.
Nor it is the breaking news, neither we need a break from learning traditional way. There are plenty of good books on Java, written in a traditional way.
However, this book breaks some typical patterns of any other Java book written so far.
It will not exhibit the same characteristics that start with a distinctive introduction to Java, principles of object oriented programming, Values and Data types, Operators, Input in Java, Library methods, etc. Instead it presents problems for learners to solve and learn from them.
This book will empower computer science and programming students to build their applications in Java. It is for the first time that a book with a "problems-solutions-explanations" approach will help you develop logical and analytical thinking so that you can easily solve interactive problems, not only in Java, but also in any programming language.
Because, we feel a programming language is more relevant to practice, not to theory.
Only practice makes you perfect in computer science and programming.
We are learning Java to solve problems and build applications, right? To do that, we better start writing code first. If you cannot take a short swim in the pool, you cannot learn swimming.
Let us start with small programs, the result follows and 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.
After all, we want to build an application, which is concrete and reality.
Although the Abstraction stays behind the curtain, we will learn them with the help of our problems.
As we progress, through the eyes of 100 problems, we will learn the following topics:
1) What is a High Level Language? Why we need to know about the concepts regarding memory allocation, heap and stack. Problems and Solutions.
2) Which code editor we need to learn and practice Java code? What else we need to run our code successfully?
3) Difference between Procedural and Object Oriented Programming (OOP). How Java programming is written within a class. The role of compiler and interpreter. Problems and Solutions.
4) Variables and Primitive Data Types in Java. What are the roles of Primitive data types in saving Memory. Problems and Solutions.
5) More about Variables, Reference variables that represent State of an Object. Problems and Solutions.
6) What are the key concepts of OOP, such as Data Abstraction, Inheritance, Polymorphism, Encapsulation? Problems and Solutions.
7) Mathematical Library methods and their implications. Problems and Solutions.
8) Conditional Constructs in Java. How menu driven programs work. Problems and Solutions.
9) Iterative Constructs in Java. Variations in looping and Jump statements. Problems and Solutions.
10) Nested for loops. Various patterns. Problems and Solutions.
And many more about Date-time API, Deployment and other core concepts.
Chapter One: Java, a High Level Language
- A Short Note on the Book
- About this Book
Java is a High Level Language
- High Level to Machine Language
- Memory allocation, heap and stack
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 and more
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
- Java ANT Application
Chapter Seven: Operators and Conditional Statements
- Arithmetic and Unary Operators
- Equality, and Relational Operators
- Conditional Operators
- InstanceOf Operators
- Control Flow – Part One
Supporting Indigenous Peoples. Protecting the Amazon.http://amazonwatch.org
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.
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. Free App. 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), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). 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.