Category Java Articles

S01L01 – New – Java versions and Setting up enviroment

html Mastering IntelliJ IDEA: A Comprehensive Guide to Installation and Setup Table of Contents Introduction …………………………………………………. 1 Downloading IntelliJ IDEA ……………………………………. 3 Installing IntelliJ IDEA ……………………………………… 5 Navigating the Updated IntelliJ IDEA UI……………………….. 8 Setting Up Java Development Kit (JDK)…………………………

S01L01 – New – Java versions and Setting up enviroment

html

Code Explanation Class Declaration:

Defines a public class named HelloWorld. Main Method:

The entry point of the application. Printing to Console:

Outputs the string “Hello and Welcome!” to the console. Program Output

Creating Your…

S01L02 – HelloWorld Java program without Maven

html Creating a HelloWorld Java Project in IntelliJ IDEA Without Maven Table of Contents Introduction ……………………………………………………………………………………………………………………1 Setting Up Your Development Environment ………………3 Creating a New Java Project …………………………………………………………..5 Understanding Project Structure …………………………………………8 Writing Your First Java Program ……………………………………………10 Running the…

S01L03 – HelloWorld Java program with Maven

html Creating a Maven Project in IntelliJ IDEA: A Comprehensive Guide Table of Contents Introduction Setting Up Your Maven Project Launching IntelliJ IDEA and Starting a New Project Configuring Project Details Understanding pom.xml Setting Compiler Source and Target Defining Packaging…

S01L04 – Maven jar plugin example

html Optimizing Maven Builds: Resolving the “No Manifest Attribute” Error with Maven Jar Plugin Table of Contents Introduction…………………………………………………3 Understanding Maven and Its Importance……..5 Common Maven Build Issues……………………….7 Resolving the “No Manifest Attribute” Error9 Understanding the Manifest File…………..9 Configuring the Maven…

S01L06 – Understanding variables

Understanding Variables in Java Introduction Variables are fundamental to any programming language, including Java. They serve as containers that hold data values, which can be manipulated and used throughout a program. Understanding how to declare, initialize, and manipulate variables is…

S01L11 – String basics

Strings basics in Java Strings are one of the most commonly used data types in Java, representing sequences of characters. They are objects that contain methods for manipulating text, such as comparing, searching, and extracting substrings. Understanding how to use…

S01L15 – Java naming conventions

Java Naming Conventions: Best Practices Introduction Following standard naming conventions in Java is crucial for writing clean, readable, and maintainable code. Proper naming not only improves the readability of your code but also helps in collaboration and long-term project maintenance.…