Programming with Java

by Ashik Ahmed Bhuiyan, Ph.D. and Md Amiruzzaman, Ph.D.

Keywords: Java programming, Object Oriented Programming, Programming Education

Bhuiyan & Amiruzzaman book cover

About the Book

Programming with Java is a beginner-friendly eTextbook that introduces readers to the fundamentals of Java, one of the most widely used programming languages. It covers key concepts like syntax, data types, control structures, and object-oriented programming, offering clear explanations and practical examples. The chapters build progressively, making the material accessible even to those with little or no programming background. The book also explores important topics such as exception handling, file I/O, and basic data structures, providing a strong foundation for further computer science studies. With interactive exercises and end-of-chapter projects, readers can apply their knowledge through real-world applications. This eTextbook equips students with the skills they need to confidently take on advanced programming challenges and pursue successful careers in software development.

Chapters

  1. Introduction
  2. Control Statements and Loops
  3. String
  4. Methods in Java
  5. Arrays
  6. Introduction to Classes and Objects
  7. File Handling
  8. References

General Information

  • Publication Year: 2025
  • Edition: Second
  • Subject: Computer Programming

License

cc by-nc

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) as a part of PA-ADOPT, except where otherwise noted.

Usage

Readers

The eTextbooks created as a part of this program are provided in two formats: ePub and PDF. Please refer to our Reader Support section for guidance on which format may be best for you and the device(s) you use.

Instructors

If you are an instructor seeking to use this eTextbook in your own course(s) please feel free to download the ePub and/or PDF file(s) for your use, but make sure to complete our eTextbook Usage Survey (this information is used for program evaluation purposes).

If you are interested in making revisions and edits to this eTextbook please note that this is possible since the book is under a Creative Commons License, which allows you to remix, reuse, revise, and redistribute the eTextbook. Please refer to the Faculty Support Page, specifically looking at Remixing. You can download Programming with Java Apple Pages File in order to use the original document to revise and remix the eTextbook for your purposes.

Citations

MLA: Bhuiyan, Ashik Ahmed; Amiruzzaman, Md. Programming with Java. Second, The Pennsylvania Alliance for Design of Open Textbooks (PA-ADOPT), 2025.

APA: Bhuiyan, A. A.; Amiruzzaman, M. (2025). Programming with Java. (Second). The Pennsylvania Alliance for Design of Open Textbooks (PA-ADOPT).

Chicago: Bhuiyan, Ashik Ahmed; Amiruzzaman, Md. Programming with Java. Second The Pennsylvania Alliance for Design of Open Textbooks (PA-ADOPT), 2025. 

Peer Review

This eTextbook went through an Open Peer Review process. The peer review process used the Open SUNY Textbook Peer Review Guidelines, allowing peer reviewers to read the text carefully and evaluate the following:

  • Educational Significance of Content including accuracy, appropriate and useful materials, valid and significant concepts, models, and skills, and key  elements; 
  • Effectiveness as a Teaching Resource including a clear explanation of the  concepts, alignment of materials to the learning process of the target audience, and alignment of the learning objectives with course goals; and 
  • Readability and Ease of Use including clarity and comprehensiveness, consistent writing style, readability and ease of use (logic, sequence, and flow), appropriateness for target readership level, and quality of Interactivity and  multimedia learning objects.

As a part of the open peer review process, the public review conducted by Dr. Richard Burns is made available: Peer Review Document (PDF).