Java for Beginners with Hands-On Program and Capstone Project

Video description

Java is a popular and versatile programming language renowned for its platform independence and extensive libraries. It offers a strong foundation in object-oriented programming and provides robust features like exception handling and multithreading. With Java, you can develop a wide range of applications, from desktop software to mobile apps and enterprise systems.

This comprehensive Java programming course begins with an introduction followed by the basics of the language and its life cycle. The course covers downloading and installing an IDE and creating our first Java project. We will explore comments, naming conventions, variables, data types, loops (for, while, and do-while), conditional statements (if, if-else, switch), and user input and delve into object-oriented programming (OOP) principles, including inheritance, polymorphism, and abstraction. We will work with arrays, static concepts, and final keywords in Java. The course covers topics like interfaces, exception handling, threads, file handling, and serialization. The final part of the course focuses on a project, where we create a Java project for a Bookstore App.

By the end of this course, we will have a solid understanding of Java programming, its concepts, and practical application, equipped with the skills to develop Java projects and debug code effectively.

What You Will Learn

  • Learn Java concepts and use different IDEs used for Java development
  • Learn best practices, debugging techniques and solve code errors
  • Interpret and use UML diagrams like class and sequence diagrams
  • Program to write data to a text file using java and scope elevation
  • Create a service layer Interface and implementation layer for a book
  • Integrate book repository/converter layer using adapter design pattern

Audience

This course is designed for individuals who aspire to become Core Java Developers and want to kickstart their journey in developing real-world Java projects. Whether you are a beginner or have some programming experience, this course will guide you through the concepts and skills needed to excel in Java development and gain a deep understanding of Java programming, including syntax, data types, control flow, and exception handling. Through hands-on exercises and projects, you will learn to write efficient and scalable Java code, and debug effectively. The course has no desirable prerequisites.

About The Author

Ranjan Pandey: Ranjan Pandey is a full-stack DevOps software professional with over 11 years of experience in a variety of technologies ranging from web and mobile application development using HTML5, CSS3, JavaScript, jQuery, Bootstrap, Angular, React, Java, Spring, Spring Boot, Python, Flask, Django, NodeJS, Express, Android, Ionic, React Native, Flutter to artificial intelligence and cloud technologies such as Amazon Web Services and Microsoft Azure. He is a certified professional in Java, Azure Cloud, and Backbase products and has experience working with multiple MNCs and European clients. He is also a corporate trainer providing a wide range of training.

Table of contents

  1. Chapter 1 : Introduction, Installation, and Environment Setup
    1. Course Introduction
    2. Introduction and Advantages of Java
    3. Disadvantages of Java
    4. Basics of Java Programming Language
    5. Java Program Life Cycle
    6. Downloading and Installing Java
    7. Writing, Compiling, and Running our First Java Program
    8. Understanding our First Java Program
    9. Downloading and Installing IDE
    10. Creating the first Java project in IDE
  2. Chapter 2 : Basic Constructs of Java Programming
    1. Comments in Java
    2. Naming Convention Part-1
    3. Naming Convention Part-2
    4. Variable and Data Types in Java
    5. Data Types Hands-on
    6. What are Operators in Java
    7. Types of Operators
    8. Arithmetic and Assignment Operators
    9. Comparison and Logical Operators
    10. Bitwise and Ternary Operators
    11. Data Type and Operators Hands-on
    12. Using For Loop in Java
    13. Using While Loop in Java
    14. Using Do While Loop in Java
    15. If and If Else in Java
    16. If Else-If-Else in Java
    17. Taking User Input from Keyboard
    18. Making Java Program keep running
    19. Ternary Operator in Java
    20. Switch Case and Break in Java
  3. Chapter 3 : Object and Classes
    1. Understanding Object-Oriented Programming
    2. Understanding OOPS Concept Continued
    3. OOPS Concept Analogy
    4. Understanding OOPS Concepts with Real-World Examples
    5. Object and Reference vs. Heap and Stack
    6. Working with Objects and Classes
  4. Chapter 4 : Polymorphism, Inheritance, Abstraction, Encapsulation
    1. Understanding the concept of Polymorphism, Static and Dynamic Polymorphism
    2. Polymorphism, Method Overloading, Debugging
    3. What are Constructors?
    4. Constructor Overloading, this keyword
    5. Understanding the Concept of Inheritance in Java
    6. Inheritance, super keyword, Dynamic Polymorphism
    7. Inner Class and Object of Inner Class in Java
    8. Understanding abstract class and Abstraction in Java
    9. Hands-on examples of Abstraction and Abstract class in Java
  5. Chapter 5 : Array, Static, Final, Interface
    1. Understanding Arrays in Java
    2. Hands-on with Array Examples
    3. Mini Project with Array
    4. Concept of Static in Java
    5. Handson and Debugging for Static Concept in Java
    6. Concept of Final in Java
    7. Hands-on with Final keyword in Java
    8. Concept of Interface and Multiple Inheritance in Java
    9. Hands-on and Debugging for Interface and Multiple Inheritance in Java
  6. Chapter 6 : Wrapper Class, String, StringBuilder, Access Modifier
    1. Concept of Wrapper Class, Autoboxing and Unboxing
    2. Hands-on Examples for Wrapper class, Autoboxing and Unboxing
    3. Concept of String and its Methods in Java
    4. Hands-on with String and String Functions
    5. Hands-on with CompareTo method in String
    6. Concept of Access Modifiers in Java
    7. Hands-on with Final keyword in Java
    8. Hands-on with Access Modifiers
  7. Chapter 7 : Collection Framework and Generics
    1. Concept of Collection Framework in Java
    2. Hands-on with Raw ArrayList with Mixed Datatype elements
    3. Hands-on with Generics-based ArrayList
    4. Hands-on with Custom Class and ArrayList
    5. Hands-on with ArrayList methods
    6. Hands-on with Set and Hashset in Collection Framework
    7. Hands-on with Map and its Uses
  8. Chapter 8 : Exception and Exception Handling
    1. Concept of Exception Handling in Java
    2. Hands-on with Arithmetic Exception Handling
    3. Hands-on with Null Pointer Exception Handling
    4. Hands-on with Array Index Out of Bound Exception handling
    5. Concept of Finally Block in Exception Handling
    6. Hands-on with Finally Block in Exception Handling - part-1
    7. Hands-on with Finally Block in Exception Handling - part-2
    8. Hands-on with Custom Exception Handling
  9. Chapter 9 : Multithreading, Synchronization, and Garbage Collection
    1. What is Thread and Thread Life Cycle
    2. Different Ways of Creating Threads in Java
    3. Thread Synchronization in Java
    4. Garbage Collector and Garbage Collection Mechanism in Java
    5. Hands-on with Threads in Java
  10. Chapter 10 : File Handling, Serialization, and Deserialization
    1. Concept of File and File Handling in Java
    2. Hands-on Program to Create New File Using Java
    3. Hands-on Program to Write Data to a Text File using Java and Scope Elevation
    4. Reading Data from File using Java and Printing in Java
    5. Getting all information of a file like file size, etc.
    6. Concept of Marker Interface Serialization Deserialization Transient in Java
    7. Hands-on program to Serialize and Deserialize Objects in Java
  11. Chapter 11 : Capstone Project Developed using Java
    1. Project Overview
    2. Create Java Project for Bookstore App
    3. Sequence Diagram Explanation
    4. Class Diagram Explanation
    5. Creating all the required packages
    6. Creating the Book DTO and Entity Classes
    7. Creating Repository Interface and Implementation Layer for Book
    8. Creating Service Layer Interface and Implementation Layer for Book
    9. Creating Controller Layer and Test Client Class for Book
    10. Integrate Book Client with Controller and Service Layer
    11. Learn to Debug the code by navigating through what we have built so far
    12. Integrate Repository Converter layer for Book by using Adapter Design pattern
    13. Save the Book Entity in a list inside Repository
    14. Serialize and save Book Entity in the file
    15. Write Deserialization logic to get the Book Entity object from the saved file
    16. Get Book Detail and Deserialize Object and Debugging

Product information

  • Title: Java for Beginners with Hands-On Program and Capstone Project
  • Author(s): Ranjan Pandey
  • Release date: July 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781835084274