
Java Fundamentals
A fast-paced and pragmatic introduction to one of the world's most popular programming languages
- 408 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Java Fundamentals
A fast-paced and pragmatic introduction to one of the world's most popular programming languages
About this book
Enhance your career options with this well-crafted object-oriented programming language that enjoys the support of an enormous ecosystem of tools and libraries
Key Features
- Get introduced to Java, its features, and its ecosystem
- Understand how Java uses object-oriented programming
- Become an expert Java exception handler
Book Description
Since its inception, Java has stormed the programming world. Its features and functionalities provide developers with the tools needed to write robust cross-platform applications. Java Fundamentals introduces you to these tools and functionalities that will enable you to create Java programs.
The book begins with an introduction to the language, its philosophy, and evolution over time, until the latest release. You'll learn how the javac/java tools work and what Java packages are - the way a Java program is usually organized. Once you are comfortable with this, you'll be introduced to advanced concepts of the language, such as control flow keywords. You'll explore object-oriented programming and the part it plays in making Java what it is. In the concluding chapters, you'll get to grips with classes, typecasting, and interfaces, and understand the use of data structures, arrays, strings, handling exceptions, and creating generics.
By the end of this book, you will have learned to write programs, automate tasks, and follow advanced courses on algorithms and data structures or explore more advanced Java courses.
What you will learn
- Create and run Java programs
- Use data types, data structures, and control flow in your code
- Implement best practices while creating objects
- Work with constructors and inheritance
- Understand advanced data structures to organize and store data
- Employ generics for stronger check-types during compilation
- Learn to handle exceptions in your code
Who this book is for
Java Fundamentals is designed for tech enthusiasts who are familiar with some programming languages and want a quick introduction to the most important principles of Java.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Chapter 1
Introduction to Java
Learning Objectives
- Describe the working of the Java ecosystem
- Write simple Java programs
- Read input from the users
- Utilize classes in the java.util package
Introduction
The Java Ecosystem

Figure 1.1: A representation of the Java ecosystem
Note
Note
Our First Java Application

Figure 1.2: The process of compilation in Java
Syntax of a Simple Java Program
Note
Exercise 1: A Simple ...
Table of contents
- Preface
- Chapter 1
- Chpater 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Appendix