<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: POOJAKOLUSU</title>
    <description>The latest articles on DEV Community by POOJAKOLUSU (@poojakolusu).</description>
    <link>https://dev.to/poojakolusu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4120500%2F3b313faa-9855-49d2-9b1e-6d56c96ef511.png</url>
      <title>DEV Community: POOJAKOLUSU</title>
      <link>https://dev.to/poojakolusu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/poojakolusu"/>
    <language>en</language>
    <item>
      <title>Java Output Methods: Complete Guide to print() vs. println()</title>
      <dc:creator>POOJAKOLUSU</dc:creator>
      <pubDate>Wed, 16 Sep 2026 06:44:26 +0000</pubDate>
      <link>https://dev.to/poojakolusu/java-output-methods-complete-guide-to-print-vs-println-23lh</link>
      <guid>https://dev.to/poojakolusu/java-output-methods-complete-guide-to-print-vs-println-23lh</guid>
      <description>&lt;h1&gt;
  
  
  Java Output Methods: Complete Guide to &lt;code&gt;print()&lt;/code&gt; vs. &lt;code&gt;println()&lt;/code&gt;
&lt;/h1&gt;

&lt;p&gt;In Java, displaying output on the console is handled by the &lt;code&gt;System.out&lt;/code&gt; stream. Understanding the operational difference between &lt;code&gt;print()&lt;/code&gt; and &lt;code&gt;println()&lt;/code&gt; is crucial for managing console layout and cursor positioning.&lt;/p&gt;




&lt;h3&gt;
  
  
  1. Overview of Output Methods
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.print()&lt;/code&gt;&lt;/strong&gt;: Outputs the specified data to the console and &lt;strong&gt;keeps the cursor on the same line&lt;/strong&gt;, immediately following the printed output.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.println()&lt;/code&gt;&lt;/strong&gt;: Outputs the specified data to the console and &lt;strong&gt;appends a newline character&lt;/strong&gt;, moving the cursor to the beginning of the next line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.println()&lt;/code&gt; (Empty)&lt;/strong&gt;: Prints no text, serving purely to move the cursor down to a new line.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  2. Practical Code Example
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Num&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;print&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;      &lt;span class="c1"&gt;// Line 1: Outputs 8, cursor stays on Line 1&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;print&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;      &lt;span class="c1"&gt;// Line 1: Outputs 14 directly after 8&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;       &lt;span class="c1"&gt;// Line 1 -&amp;gt; Line 2: Moves cursor to Line 2&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;    &lt;span class="c1"&gt;// Line 2: Outputs 13 on Line 2&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Step-by-Step Execution Breakdown
&lt;/h3&gt;

&lt;p&gt;Console Output&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;814
13
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Detailed Execution Flow
&lt;/h3&gt;

&lt;h3&gt;
  
  
  1.System.out.print(3 + 5):
&lt;/h3&gt;

&lt;p&gt;Evaluates the expression: 3 + 5 = 8.&lt;/p&gt;

&lt;p&gt;Prints 8 to the console.&lt;/p&gt;

&lt;p&gt;Cursor Position: Remains on Line 1 directly after 8.&lt;/p&gt;

&lt;h3&gt;
  
  
  2.System.out.print(8 + 6):
&lt;/h3&gt;

&lt;p&gt;Evaluates the expression: 8 + 6 = 14.&lt;/p&gt;

&lt;p&gt;Prints 14 directly adjacent to 8.&lt;/p&gt;

&lt;p&gt;Current Console View: 814&lt;/p&gt;

&lt;p&gt;Cursor Position: Remains on Line 1 directly after 14.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.System.out.println(""):
&lt;/h3&gt;

&lt;p&gt;Outputs an empty string and triggers a line break.&lt;/p&gt;

&lt;p&gt;Cursor Position: Moves down to the start of Line 2.&lt;/p&gt;

&lt;h3&gt;
  
  
  4.System.out.println(6 + 7):
&lt;/h3&gt;

&lt;p&gt;Evaluates the expression: 6 + 7 = 13.&lt;/p&gt;

&lt;p&gt;Prints 13 on Line 2.&lt;/p&gt;

&lt;p&gt;Cursor Position: Moves down to Line 3.&lt;/p&gt;

&lt;p&gt;Key Rule: print() leaves the cursor on the same line, while println() appends a newline immediately after writing its output.&lt;/p&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>programming</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Java Essentials: Tools, Setup, Syntax &amp; Execution Architecture</title>
      <dc:creator>POOJAKOLUSU</dc:creator>
      <pubDate>Tue, 15 Sep 2026 07:07:52 +0000</pubDate>
      <link>https://dev.to/poojakolusu/java-essentials-tools-setup-syntax-execution-architecture-1940</link>
      <guid>https://dev.to/poojakolusu/java-essentials-tools-setup-syntax-execution-architecture-1940</guid>
      <description>&lt;h1&gt;
  
  
  Java Essentials: Tools, Setup, Syntax &amp;amp; Execution Architecture
&lt;/h1&gt;

&lt;p&gt;This guide covers the core fundamentals of Java development—from setting up your environment and writing your first program to understanding how Java code executes under the hood.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Development Tools: IDEs vs. Editors
&lt;/h2&gt;

&lt;p&gt;To write, debug, and build Java applications, developers use &lt;strong&gt;Integrated Development Environments (IDEs)&lt;/strong&gt; or &lt;strong&gt;Code Editors&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Popular Java IDEs:&lt;/strong&gt; Eclipse, IntelliJ IDEA, NetBeans, JDeveloper, DrJava.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lightweight Editors:&lt;/strong&gt; VS Code, Notepad++.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plain Text Requirement:&lt;/strong&gt; Source code must be saved as plain text (&lt;code&gt;.java&lt;/code&gt;). Standard word processors (like Microsoft Word) insert hidden rich-text formatting that breaks the compilation process.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. JDK Setup &amp;amp; Rapid Prototyping
&lt;/h2&gt;

&lt;p&gt;To write and run Java applications, you need the &lt;strong&gt;Java Development Kit (JDK)&lt;/strong&gt; installed on your machine.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Terminal Verification Commands:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;java --version&lt;/code&gt;: Verifies the Java Runtime Environment (JVM).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;javac --version&lt;/code&gt;: Verifies the Java Compiler (&lt;code&gt;javac&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-Term Support (LTS) Releases:&lt;/strong&gt; Enterprise-focused stable releases include Java 8, 11, 17, 21, and 25.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JShell (REPL):&lt;/strong&gt; Introduced in Java 9, JShell allows developers to run simple statements and evaluate math expressions directly in the terminal without writing a full class or &lt;code&gt;main&lt;/code&gt; method.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Core Syntax &amp;amp; Conventions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;File Naming &amp;amp; Case Sensitivity:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Source code files must end with the &lt;code&gt;.java&lt;/code&gt; extension.&lt;/li&gt;
&lt;li&gt;Java is strictly &lt;strong&gt;case-sensitive&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;If a class is declared &lt;code&gt;public&lt;/code&gt;, the file name &lt;strong&gt;must match the class name exactly&lt;/strong&gt; using &lt;code&gt;PascalCase&lt;/code&gt; (e.g., &lt;code&gt;public class Hello&lt;/code&gt; -&amp;gt; &lt;code&gt;Hello.java&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Console Output:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;System.out.println()&lt;/code&gt;: Prints the text and moves the cursor to a new line.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;System.out.print()&lt;/code&gt;: Prints the text and leaves the cursor on the same line.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Statement Termination:&lt;/strong&gt; Every statement must end with a semicolon &lt;code&gt;;&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. "Hello World" Implementation
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Hello&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello World"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Program Entry Point: The JVM specifically searches for the exact signature public static void main(String[] args) to start program execution.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Compilation &amp;amp; Execution Lifecycle
&lt;/h2&gt;

&lt;p&gt;Compile Source Code: Run javac Hello.java in your terminal. The javac compiler checks for syntax errors and translates your human-readable code into intermediate bytecode saved in a Hello.class file.&lt;/p&gt;

&lt;p&gt;Execute Bytecode: Run java Hello. The Java Virtual Machine loads Hello.class and runs the application.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Architecture: JDK vs. JRE vs. JVM
&lt;/h2&gt;

&lt;p&gt;Java follows a nested architecture to deliver its "Write Once, Run Anywhere" (WORA) capability:&lt;/p&gt;

&lt;p&gt;JDK (Super-set): The complete software development kit containing debugging tools, the javac compiler, and the JRE.&lt;/p&gt;

&lt;p&gt;JRE (Mid-layer): The runtime environment containing pre-compiled system libraries and the JVM runtime engine.&lt;/p&gt;

&lt;p&gt;JVM (Core Engine):&lt;/p&gt;

&lt;p&gt;Reads and validates the compiled .class bytecode.&lt;/p&gt;

&lt;p&gt;Checks for the mandatory main method signature.&lt;/p&gt;

&lt;p&gt;Translates intermediate bytecode into native machine code (0s and 1s) specific to the host operating system.&lt;/p&gt;

&lt;p&gt;Key Concept: While the JVM itself is platform-dependent (built specifically for Windows, macOS, or Linux), it makes compiled Java bytecode platform-independent.&lt;/p&gt;

&lt;p&gt;Translates intermediate bytecode into native machine code (0s and 1s) specific to the host operating system.&lt;/p&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>programming</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>New to Java? Here's How the JVM, LTS, and Ecosystem Work</title>
      <dc:creator>POOJAKOLUSU</dc:creator>
      <pubDate>Mon, 14 Sep 2026 09:38:00 +0000</pubDate>
      <link>https://dev.to/poojakolusu/new-to-java-heres-how-the-jvm-lts-and-ecosystem-work-4kn5</link>
      <guid>https://dev.to/poojakolusu/new-to-java-heres-how-the-jvm-lts-and-ecosystem-work-4kn5</guid>
      <description>&lt;h1&gt;
  
  
  Introduction to Java: History, Architecture, and Ecosystem
&lt;/h1&gt;

&lt;p&gt;A structured overview of fundamental Java concepts—from its historical origins to the Java Virtual Machine (JVM), release cadence, and real-world applications.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. History &amp;amp; Evolution
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Creation:&lt;/strong&gt; Developed by James Gosling and his team (&lt;em&gt;the Green Team&lt;/em&gt;) at Sun Microsystems in 1995.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Original Name:&lt;/strong&gt; Initially named &lt;strong&gt;Oak&lt;/strong&gt; (after an oak tree outside Gosling's office).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Renaming to Java:&lt;/strong&gt; Renamed to Java, inspired by Java coffee from Indonesia—a favorite beverage of the development team. This inspired Java's iconic steaming coffee cup logo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Current Ownership:&lt;/strong&gt; Oracle Corporation acquired Sun Microsystems in 2010 and continues to maintain and develop Java today.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Core Concepts &amp;amp; Characteristics
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Characteristic&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;High-Level&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Intuitive, clear, and human-readable syntax designed for easy maintenance.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Object-Oriented (OOP)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Emphasizes modular, reusable code structured around classes and objects.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Robustness&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Provides built-in Exception Handling mechanisms to manage runtime errors gracefully.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Multithreading&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Built-in capability to execute multiple threads concurrently, maximizing CPU performance.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Collections Framework&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Includes pre-built data structures (&lt;code&gt;List&lt;/code&gt;, &lt;code&gt;Set&lt;/code&gt;, &lt;code&gt;Map&lt;/code&gt;, etc.) for efficient data management.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  3. The JVM &amp;amp; the "WORA" Principle
&lt;/h2&gt;

&lt;h3&gt;
  
  
  WORA ("Write Once, Run Anywhere")
&lt;/h3&gt;

&lt;p&gt;Java source code (&lt;code&gt;.java&lt;/code&gt;) is compiled into intermediate &lt;strong&gt;bytecode&lt;/strong&gt; (&lt;code&gt;.class&lt;/code&gt;). This bytecode is platform-independent, enabling Java programs to run on any operating system without modification.&lt;/p&gt;

&lt;h3&gt;
  
  
  Java Virtual Machine (JVM)
&lt;/h3&gt;

&lt;p&gt;The JVM is the execution engine that loads, verifies, and executes bytecode by interpreting or compiling (via JIT) it into machine-specific code for OS environments like Windows, macOS, and Linux.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Polyglot Platform:&lt;/strong&gt; The JVM is not restricted to Java alone. It also executes bytecode compiled from other modern languages, including &lt;strong&gt;Kotlin&lt;/strong&gt;, &lt;strong&gt;Scala&lt;/strong&gt;, and &lt;strong&gt;Groovy&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  4. Real-World Applications &amp;amp; Use Cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Enterprise Applications:&lt;/strong&gt; Backend systems for corporate banking, financial platforms, and government databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;E-Commerce &amp;amp; Social Media:&lt;/strong&gt; Core backend services for platforms like Amazon and LinkedIn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mobile Development:&lt;/strong&gt; Served as the foundational programming platform for Android (now co-existing with Kotlin).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Developer Tools:&lt;/strong&gt; Powers Integrated Development Environments (IDEs) such as Eclipse and IntelliJ IDEA.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gaming &amp;amp; Web:&lt;/strong&gt; Used in game development (e.g., &lt;em&gt;Minecraft&lt;/em&gt;) and scalable web application backends.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  5. Release Cadence &amp;amp; Long-Term Support (LTS)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;6-Month Release Cycle:&lt;/strong&gt; Oracle releases a new feature version of Java every six months (typically in March and September).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-Term Support (LTS):&lt;/strong&gt; Designated versions receive extended enterprise support and stability updates over several years. Enterprise systems heavily rely on LTS releases.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key LTS Versions
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;Java 8&lt;/code&gt; • &lt;code&gt;Java 11&lt;/code&gt; • &lt;code&gt;Java 17&lt;/code&gt; • &lt;code&gt;Java 21&lt;/code&gt; • &lt;code&gt;Java 25&lt;/code&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>programming</category>
      <category>architecture</category>
    </item>
    <item>
      <title>JDK vs JRE vs JVM Explained: What Every Java Beginner Needs to Know</title>
      <dc:creator>POOJAKOLUSU</dc:creator>
      <pubDate>Fri, 11 Sep 2026 11:48:06 +0000</pubDate>
      <link>https://dev.to/poojakolusu/jdk-vs-jre-vs-jvm-explained-what-every-java-beginner-needs-to-know-31f1</link>
      <guid>https://dev.to/poojakolusu/jdk-vs-jre-vs-jvm-explained-what-every-java-beginner-needs-to-know-31f1</guid>
      <description>&lt;h2&gt;
  
  
  ⚙️ How Java Runs Everywhere: Decoding JDK, JRE, and JVM
&lt;/h2&gt;

&lt;p&gt;Java is a high-level programming language used for enterprise applications, web development, web applications, mobile applications, and many more. It is secure, scalable, and platform-independent. &lt;/p&gt;

&lt;p&gt;We can run Java across many Operating Systems like Linux and macOS. How is this possible? It is possible because of the &lt;strong&gt;JVM&lt;/strong&gt; (Java Virtual Machine), which executes bytecode, and the &lt;strong&gt;JDK&lt;/strong&gt; (Java Development Kit), which gives us the tools to build it.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔍 Breaking Down the Concepts
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. JDK (Java Development Kit) — The Superset
&lt;/h3&gt;

&lt;p&gt;JDK is the top-level package. It consists of the JRE plus development tools.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;What is inside:&lt;/strong&gt; JVM + JRE + Development Tools (like the compiler &lt;code&gt;javac&lt;/code&gt; and debuggers).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Role:&lt;/strong&gt; It gives us everything needed to both write, compile, and run Java code.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. JRE (Java Runtime Environment) — The Environment
&lt;/h3&gt;

&lt;p&gt;JRE is the runtime environment that allows Java programs to run.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;What is inside:&lt;/strong&gt; JVM + Standard Class Libraries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Role:&lt;/strong&gt; It provides the environment and libraries to run compiled Java code (Development tools like &lt;code&gt;javac&lt;/code&gt; belong to the JDK above it).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. JVM (Java Virtual Machine) — The Translator
&lt;/h3&gt;

&lt;p&gt;JVM is the engine that converts Java bytecode into machine code so the operating system can understand it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Role:&lt;/strong&gt; Translates human-written code (compiled into &lt;code&gt;.class&lt;/code&gt; bytecode files) into machine code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Why Java is Platform Independent:&lt;/strong&gt; You write code in a &lt;code&gt;.java&lt;/code&gt; file, the JDK compiler (&lt;code&gt;javac&lt;/code&gt;) converts it to a &lt;code&gt;.class&lt;/code&gt; bytecode file, and the &lt;strong&gt;JVM&lt;/strong&gt; translates that bytecode for your specific OS (Windows, Mac, or Linux).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💡 Quick Decoding Formula
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;JDK&lt;/strong&gt; = JRE + Development Tools (&lt;code&gt;javac&lt;/code&gt; compiler, debuggers)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JRE&lt;/strong&gt; = JVM + Class Libraries&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JVM&lt;/strong&gt; = Reads &lt;code&gt;.class&lt;/code&gt; Bytecode Converts to Machine Code&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>learning</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Java Hello World Explained: What public static void main Actually Means</title>
      <dc:creator>POOJAKOLUSU</dc:creator>
      <pubDate>Fri, 11 Sep 2026 11:12:35 +0000</pubDate>
      <link>https://dev.to/poojakolusu/java-hello-world-explained-what-public-static-void-main-actually-means-4kki</link>
      <guid>https://dev.to/poojakolusu/java-hello-world-explained-what-public-static-void-main-actually-means-4kki</guid>
      <description>&lt;h2&gt;
  
  
  🚀 Java "Hello World" Breakdown
&lt;/h2&gt;

&lt;p&gt;A simple, plain-English guide to understanding your first Java program.&lt;/p&gt;




&lt;h2&gt;
  
  
  📄 The Source Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;
&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Hello&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello World"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;Step by step explanation of this code&lt;/strong&gt;:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;public class Hello&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Class&lt;/strong&gt;: Think of a class as a name tag for your program. It tells Java where your code belongs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;File Name vs. Class Name&lt;/strong&gt;: If your file is named Hello.java, your class name inside must also be Hello (Java is case-sensitive!). When you compile it, Java creates a file called Hello.class.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public&lt;/strong&gt;: Means this program is open and visible so Java can find it and run it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;public static void main(String[] args)
This whole line is called the main method signature. The main method is the entry point of the program. The JVM (Java Virtual Machine) searches for this exact line to start running your code. If this line isn't present, the program won't run.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;public&lt;/strong&gt;: Accessible by everyone, including Java itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;static&lt;/strong&gt;: Means Java can run this program directly without needing extra setup / objects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;void&lt;/strong&gt;: Means this program does its job and doesn't give back (return) any result or value when it finishes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;main&lt;/strong&gt;: The exact name Java looks for to start execution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;String[] args&lt;/strong&gt;: Short for "arguments". It allows you to pass extra text or words into your program from the outside (like from a command prompt) when you run it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;System.out.println("Hello World");
Printing to screen: This is the command used to print whatever is inside the double quotes "" to the screen.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;println vs print:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;println&lt;/strong&gt; prints your text and moves the cursor to a new line.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;print&lt;/strong&gt; prints your text and keeps the cursor on the same line.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Semicolon ;&lt;/strong&gt;: Every single statement in Java must end with a semicolon. It acts like a full stop (period) at the end of a sentence.&lt;/p&gt;

&lt;p&gt;4.&lt;strong&gt;Curly Braces&lt;/strong&gt;{ } (Code Blocks)&lt;br&gt;
The code inside { } is called a code block.&lt;/p&gt;

&lt;p&gt;It groups statements together into logical units.&lt;/p&gt;

&lt;p&gt;Curly braces are used for class definitions, main methods, loops, and conditions.&lt;/p&gt;

&lt;p&gt;They help keep your code organized and clean using proper indentation.&lt;/p&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>learning</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
