<?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>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>
