Many programming languages you have heard of are known as high-level. High-level programming languages such as C#, Python, and Java resemble native languages and fall into either of two major categories: object-oriented approach or procedural approach. Java is a high-level, object-oriented programming language. What began as machine and assembly languages (also known as low-level languages) culminated in increasingly more approachable and powerful code.
This text was designed as a review book, but it can also be used as an introductory complement with another textbook. The rationale behind this book is that we learn by solving problems ourselves, rather than by being told exactly what to do and how to do it. Thus each chapter will contain several exercises of increasing difficulty to be attempted before looking at the source code. Throughout the lesson, we will be able to understand why the code works and to write similar programs using what we have learned. Chapter 1 (Java Basics) covers the proper use of syntax and control statements. Chapter 2 (Classes and Methods) explores the importance of writing methods and explains when and how they should be applied. Chapter 3 (Arrays) introduces arrays and establishes their necessity.