NullPointerException in Java
Introduction: A NullPointerException is a runtime exception in Java that occurs when you try to use a reference variable that is null. In other words, it’s an exception that is thrown when you try to access a member of an object that doesn’t exist. NullPointerException is a subclass of RuntimeException, which means that it’s an…
Spring Bean Autowiring with @Autowired Annotation
Introduction: Spring Framework‘s Autowiring feature allows automatic injection of beans into your application. The @Autowired annotation is one of the ways to achieve this. It can be used to inject beans in various ways such as constructor, setter methods, properties, and more. The @Autowired annotation also has several parameters that you can use to fine-tune…
Angular 18 New Features
Introduction Angular 18 introduces several exciting new features and improvements to enhance the development experience and performance of Angular applications. In “Angular 18 New Features tutorial”, we’ll explore each of these features along with examples. 1. Differential Loading Differential loading allows Angular to generate separate bundles for modern and legacy browsers, optimizing performance and reducing…
Chat room application using Java
In this tutorial, we will make a chat room application using java swing, socket, and threads on the local network. Overview: This video is a demo of what we will develop in this chat room application tutorial using Java Socket: TCP Protocol: First, we need to know what is a TCP protocol? TCP is a…
How To Create A Tic Tac Toe Game In Android
In this tutorial, we will explain how to create a Tic Tac Toe game in android using java. Tic Tac Toe game overview: This the overview on the tablet when we test our Tic Tac Toe game in android: Project Structure: XML Layout: Let’s start by creating our graphic interface using android studio and XML,…
Image Memory Game using Java – part 1
This tutorial is about to learn how to create an image memory game using Java and Swing. Introduction: An Image memory game is about playing with your capabilities to use your memory to remember the exact place of the image. This a strategic and prediction game. In this first part, we will make the complete…
A Comprehensive Guide to Java 17 New Features
Java 17, the latest long-term support (LTS) release, has arrived with a plethora of exciting new features and enhancements. In this blog post, we’ll take an in-depth look at all the noteworthy additions to the Java ecosystem in this groundbreaking release. 1. Sealed Classes Sealed classes provide a new way to restrict the inheritance hierarchy,…
Java programming: A Beginner’s Guide to Object-Oriented Programming
Are you eager to embark on your programming journey with one of the most versatile and widely-used languages in the industry? Look no further! In this comprehensive Java programming guide, we’ll equip you with the essential skills and knowledge needed to master Java programming from scratch. Why Learn Java? Java stands out as a cornerstone…
Exploring the Exciting Java 21 New Features
Introduction: Java 21 has landed, bringing along a treasure trove of new features and enhancements designed to streamline development workflows and empower Java programmers worldwide. In this comprehensive blog post, we’ll explore each of the exciting new features introduced in Java 21, accompanied by code examples to illustrate their practical applications. Let’s embark on a…
Database Version Control with Liquibase: A Complete Guide
Introduction: In today’s fast-paced software development landscape, managing database schema changes efficiently is crucial for maintaining the integrity and consistency of applications. Liquibase, a popular open-source database version control tool, empowers developers to automate and streamline the process of managing database changes. In this detailed guide, we’ll explore Liquibase comprehensively, from its fundamental concepts to…
Exploring Java 22 New Features
Introduction: As Java 22 reaches feature completeness, it’s time to delve into the significant enhancements it brings. From streamlined stream operations to revamped memory APIs, Java 22 empowers developers with new tools and capabilities. for those who wants to read about new features in JAVA 21 LTS, here is the link: Exploring the Exciting Java…
Getting Started with Liquibase and Spring Boot
Introduction Liquibase is a popular database schema version control tool that allows you to manage your database changes in a more efficient and automated way. Take a look at our tutorial to get more details about liquibase and database version control: Database Version Control with Liquibase: A Complete Guide. Spring Boot is a powerful Java…
Java Q&A Tutorial: Commonly Asked Questions Answered
Introduction Welcome to our comprehensive Java Q&A tutorial! Whether you’re a beginner looking to learn Java or an experienced developer seeking to deepen your understanding, this tutorial covers commonly asked questions about Java programming. From basic concepts to advanced topics, we’ve got you covered. get more tutorials about Java in elgarnaoui.com/java. Table of Contents: Introduction…
100 Most Asked Questions For Java Interview
Introduction: Welcome to our 100 Most Asked Questions for Java Interview tutorial, where you’ll embark on an enriching journey through the world of Java programming. Whether you’re a budding developer eager to grasp the fundamentals or a seasoned coder seeking to deepen your knowledge, this tutorial is your go-to resource for answers to 100 of…
Autowiring Conflicts in Spring Core with XML Configuration
Introduction: In Spring Framework, autowiring is a powerful feature that allows dependencies to be automatically injected into Spring-managed beans. However, when using XML configuration for dependency injection, it’s essential to understand how autowiring conflicts can arise and how to resolve them effectively. What is Autowiring? Autowiring is a technique in Spring that automatically wires the…
Install Jdk And Configure Environment Variable – Install Java Environment
Hello and welcome again to the most powerful website in programming tutorials. If you want to learn a programming language, you are in the right place. In this tutorial, we well Install JDK and configure Environment Variables. In this tutorial, we will make a hello world using java 8. So let’s start making our first…
Maven Tutorial For Beginners
In this maven tutorial, we will start explaining maven and after that, we will present the most used commands in maven. Introduction: Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting, and documentation from a central piece…
Git Commands Tutorial For Beginners
This tutorial is about to learn some basic git Version control system commands via the command line, with some example. Requirements: Download and install git. Introduction: What is Git? Git is a version control system: A set of software tools for:● Memorize and find different versions of a project.● Facilitate collaborative work. Originally developed by…
Hello World Your First Java 14 Program
To learn a new programming language we start usually with a Hello World program. So let’s create our Java Hello World program. Requirements: PS: Refer to this link to download JDK 14 and to this one to install and configure the environment variable We can simplify the Java Hello world program process into three steps:…
Primefaces Spring Boot Hello World Example – Primefaces Tutorial
Hello and welcome again to elgarnaoui.com, in this tutorials we will create a Hello world using spring boot and JSF primefaces framework. So let’s start : Tools used in this tutorial : Let’s create our project : In eclipse click new > other > Spring Starter Project and click next then choose the name of…
Java 14 – What’s New Features In Java 14 | With Example Configuration
Java 14 is now available! Since Java 9, the version delivered so quickly (every 6 months) that it is difficult to follow all the functionalities provided by each version… But don’t worry. I have gathered all that concerns Java 14 for you in this post! Java 14 has been released since March 17, 2020, and…
Spring Mvc And Hibernate Tutorial Without Xml Configuration
In this tutorial, we will learn how to create a web application using Spring MVC and Hibernate ORM framework without xml configuration. To integrate Hibernate with Spring MVC application. We can use the LocalSessionFactoryBean class, which set up a shared SessionFactory object within a Spring application context. This SessionFactory object can be passed to DAO classes via dependencies injection. We…
Why Programming is Important
INTRODUCTION: Programming skills are no longer restricted to computer scientists and software engineers in the modern digital world. Knowing how to program has grown in importance as a core talent in a variety of firms. Programming has the ability to completely change the way we work and live, from automating repetitive chores to come up…
How to Program a Garage Door Opener
Introduction Beginning with wiring a garage door opener may seem difficult, but with the correct aid, it’s a straightforward procedure. You can be certain your garage door functions quietly and securely by complying with the easy instructions provided in this article, who may be used to reprogram old openers or install new ones. By following…
What is cnc programming
Introduction Computer Numerical Control (CNC) program is an important aspect of reliability and efficiency in the modern production industry. CNC machines may produce difficult parts and components with remarkable precision by utilizing computer software. The basis of CNC programming, its essential elements, and benefits for the manufacturing sector are explored in this article. Understanding CNC…
How Programming Languages Are Made
Introduction The foundation of software development are programming languages, which let programmers build a vast array of systems and apps. However, have you ever thought about the creation of these languages? In the following piece, we’ll examine the fascinating process of developing a programming language from conception to implementation. You will gain knowledge of the…
How To Become a Programmer
Introduction: Becoming a programmer is an interesting and fulfilling career path with many of prospects in the electronics sector. In many fields, such as coding, website design, and complicated issue solving, having programming skills is highly valued. We’ll provide you a detailed plan in this course to get you started on your road to becoming…
How To Program Key Fob Push Start
Introduction: Reprogramming your key fob for a push-start car helps you to instantly and simply coordinate it with the ignition system of your vehicle. You will discover how to navigate your key fob to start, unlock, and lock your car as well as how to reset it by studying this instructional video. This page has…
What is Programming Boot Camp
Persons looking to advance their programming ability or get into the tech sector are increasingly choosing to enroll in programming boot camp. With a focus on giving participants with an immersive and concentrated learning experience, these intensive programs aim to swiftly equip participants with the skills necessary for a career in software development. The following…
What is Buffers in Programming
Programming-wise, grasping the idea of a buffer is like being able to access a crucial element of efficient data processing. Buffers are essential for the efficient transit and processing of data given that they act as temporary storage units. The basic features of buffers in programming will be discussed in detail in this essay, along…
Why Python Programming
Python programming has become an established contender in the coding community, drawing in developers with its ease of use and customization. Its growing appeal is not accidental. Because of its extensive library and framework options and its simple syntax, Python has emerged as the preferred language for developers that work in a variety of fields….
How to program on Arduino
Introduction: Whether one is a student or a professional in electronics, Arduino programming presents a plethora of chances. Arduino’s user-friendly structures makes it simple to put together interactive projects even if you have no prior knowledge of programming. In this tutorial, we cover the fundamentals of Arduino computing, covering how to configure your board and…