<?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: Annapoorani Kadhiravan</title>
    <description>The latest articles on DEV Community by Annapoorani Kadhiravan (@annapoo).</description>
    <link>https://dev.to/annapoo</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%2F3948061%2F4dcd27ac-9741-4910-add7-07dd2bd4aec4.jpeg</url>
      <title>DEV Community: Annapoorani Kadhiravan</title>
      <link>https://dev.to/annapoo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/annapoo"/>
    <language>en</language>
    <item>
      <title>One Commit at a Time ! Series - 9</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Wed, 14 Oct 2026 18:14:01 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-9-19bi</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-9-19bi</guid>
      <description>&lt;h2&gt;
  
  
  JAVA
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;java.util.Arrays&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Main&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="kt"&gt;int&lt;/span&gt; &lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;source&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&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;4&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="mi"&gt;6&lt;/span&gt;&lt;span class="o"&gt;};&lt;/span&gt;
        &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;destination&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="kt"&gt;int&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;// iterate and copy elements from source to destination&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;source&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;length&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;destination&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;source&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;];&lt;/span&gt;
        &lt;span class="o"&gt;}&lt;/span&gt;

         &lt;span class="c1"&gt;// converting array to string&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="nc"&gt;Arrays&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;toString&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;destination&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;Explanation :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;import java.util.Arrays;&lt;/code&gt;
Imports the built-in utility class &lt;code&gt;Arrays&lt;/code&gt; from the standard &lt;code&gt;java.util&lt;/code&gt; package, allowing access to helper methods like &lt;code&gt;Arrays.toString()&lt;/code&gt; for array manipulation and display.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;class Main {&lt;/code&gt;
Declares a class named &lt;code&gt;Main&lt;/code&gt;. In Java, all code must reside inside a class structure.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;public static void main(String[] args) {&lt;/code&gt;
Defines the entry point of the Java application:&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;public&lt;/code&gt;: Accessible from anywhere.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;static&lt;/code&gt;: Can be invoked without creating an instance of &lt;code&gt;Main&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;void&lt;/code&gt;: Does not return any value.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;main&lt;/code&gt;: Name of the standard startup method.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;String[] args&lt;/code&gt;: Accepts optional command-line arguments as an array of strings.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;int [] source = {1, 2, 3, 4, 5, 6};&lt;/code&gt;
Declares and initializes an integer array named &lt;code&gt;source&lt;/code&gt; containing six elements: &lt;code&gt;1, 2, 3, 4, 5, 6&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;int [] destination = new int[6];&lt;/code&gt;
Allocates a new integer array named &lt;code&gt;destination&lt;/code&gt; of size 6. By default, Java initializes all its integer elements to &lt;code&gt;0&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;// iterate and copy elements from source to destination&lt;/code&gt;
A single-line comment explaining the purpose of the subsequent &lt;code&gt;for&lt;/code&gt; loop (ignored by the compiler).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;for (int i = 0; i &amp;lt; source.length; ++i) {&lt;/code&gt;
Sets up a loop to iterate through each index of the array:&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;int i = 0&lt;/code&gt;: Initializes loop index &lt;code&gt;i&lt;/code&gt; at 0 (the first element).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;i &amp;lt; source.length&lt;/code&gt;: Condition to keep looping while &lt;code&gt;i&lt;/code&gt; is less than &lt;code&gt;6&lt;/code&gt; (indices 0 through 5).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;++i&lt;/code&gt;: Pre-increments &lt;code&gt;i&lt;/code&gt; by 1 after each loop cycle.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;destination[i] = source[i];&lt;/code&gt;
Copies the element at index &lt;code&gt;i&lt;/code&gt; of the &lt;code&gt;source&lt;/code&gt; array into the matching index &lt;code&gt;i&lt;/code&gt; of the &lt;code&gt;destination&lt;/code&gt; array.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;}&lt;/code&gt;Marks the end of the &lt;code&gt;for&lt;/code&gt; loop body.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;// converting array to string&lt;/code&gt;
A single-line comment indicating that the array will be converted into a readable string format.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;System.out.println(Arrays.toString(destination));&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Arrays.toString(destination)&lt;/code&gt; converts the &lt;code&gt;destination&lt;/code&gt; array into a readable string representation: &lt;code&gt;"[1, 2, 3, 4, 5, 6]"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;System.out.println(...)&lt;/code&gt; prints this string to the console followed by a newline.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;}&lt;/code&gt; Closes the &lt;code&gt;main&lt;/code&gt; method.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;}&lt;/code&gt;Closes the &lt;code&gt;Main&lt;/code&gt; class definition.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;

&lt;p&gt;SELECT TOP Clause&lt;br&gt;
The SELECT TOP clause is used to limit the number of records to return.&lt;/p&gt;

&lt;p&gt;The SELECT TOP clause is useful on large tables with thousands of records. Returning a large number of records can impact performance.&lt;/p&gt;

&lt;p&gt;The following SQL selects only the first 3 records of the "Customers" table:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="k"&gt;Select&lt;/span&gt; &lt;span class="k"&gt;only&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="k"&gt;first&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="n"&gt;records&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Customers&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;TOP&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customers&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;References :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.programiz.com/java-programming/copy-arrays" rel="noopener noreferrer"&gt;https://www.programiz.com/java-programming/copy-arrays&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/sql/sql_top.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/sql/sql_top.asp&lt;/a&gt; &lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day9</category>
    </item>
    <item>
      <title>One Commit at a Time ! Series - 8</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Tue, 13 Oct 2026 17:56:39 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-8-12cn</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-8-12cn</guid>
      <description>&lt;h2&gt;
  
  
  JAVA
&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;class&lt;/span&gt; &lt;span class="nc"&gt;Main&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="kt"&gt;int&lt;/span&gt; &lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;numbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&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;4&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="mi"&gt;6&lt;/span&gt;&lt;span class="o"&gt;};&lt;/span&gt;
        &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;positiveNumbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;    &lt;span class="c1"&gt;// copying arrays&lt;/span&gt;

        &lt;span class="c1"&gt;// change value of first array&lt;/span&gt;
        &lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&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;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

        &lt;span class="c1"&gt;// printing the second array&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="nl"&gt;number:&lt;/span&gt; &lt;span class="n"&gt;positiveNumbers&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="n"&gt;number&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="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;h3&gt;
  
  
  Explanations
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;class Main {&lt;/code&gt;&lt;/strong&gt;: Declares a public class named &lt;code&gt;Main&lt;/code&gt; to serve as the structural framework for the application.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;public static void main(String[] args) {&lt;/code&gt;&lt;/strong&gt;: The entry point method where the Java Virtual Machine begins execution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;int [] numbers = {1, 2, 3, 4, 5, 6};&lt;/code&gt;&lt;/strong&gt;: Declares and initializes an integer array named &lt;code&gt;numbers&lt;/code&gt; containing six elements in memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;int [] positiveNumbers = numbers;&lt;/code&gt;&lt;/strong&gt;: Copies the &lt;strong&gt;reference&lt;/strong&gt; (memory address) of the &lt;code&gt;numbers&lt;/code&gt; array into a new array reference variable named &lt;code&gt;positiveNumbers&lt;/code&gt;. This does not duplicate the underlying array data; both variables now point to the exact same array object in memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;numbers[0] = -1;&lt;/code&gt;&lt;/strong&gt;: Modifies the first element (index &lt;code&gt;0&lt;/code&gt;) of the array to &lt;code&gt;-1&lt;/code&gt;. Because both &lt;code&gt;numbers&lt;/code&gt; and &lt;code&gt;positiveNumbers&lt;/code&gt; point to the same array object, this change will also be reflected when accessing the array through &lt;code&gt;positiveNumbers&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;for (int number: positiveNumbers) {&lt;/code&gt;&lt;/strong&gt;: Starts an enhanced for-loop to iterate through each element stored in the &lt;code&gt;positiveNumbers&lt;/code&gt; array reference.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.print(number + ", ");&lt;/code&gt;&lt;/strong&gt;: Prints each element of the array followed by a comma and a space on the same line (resulting in output where the first item is &lt;code&gt;-1&lt;/code&gt; instead of &lt;code&gt;1&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;}&lt;/code&gt;&lt;/strong&gt;: Closes the loop block.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;}&lt;/code&gt;&lt;/strong&gt;: Closes the &lt;code&gt;main&lt;/code&gt; method block.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;}&lt;/code&gt;&lt;/strong&gt;: Closes the &lt;code&gt;Main&lt;/code&gt; class block.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;

&lt;h3&gt;
  
  
  IN Operator
&lt;/h3&gt;

&lt;p&gt;The IN operator is used in the WHERE clause to check if a specified column's value matches any value within a provided list.&lt;/p&gt;

&lt;p&gt;The IN operator functions as a shorthand for multiple OR conditions, making queries shorter and more readable.&lt;/p&gt;

&lt;p&gt;Syntax :&lt;br&gt;
SELECT column_name(s)&lt;br&gt;
FROM table_name&lt;br&gt;
WHERE column_name IN (value1, value2, ...);&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customers&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;Country&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Germany'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'France'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'UK'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Reference :&lt;br&gt;
&lt;a href="https://www.w3schools.com/sql/sql_in.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/sql/sql_in.asp&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.programiz.com/java-programming/copy-arrays" rel="noopener noreferrer"&gt;https://www.programiz.com/java-programming/copy-arrays&lt;/a&gt; &lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day8</category>
    </item>
    <item>
      <title>One Commit at a Time ! Series - 7</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Mon, 12 Oct 2026 04:40:00 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-7-48bl</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-7-48bl</guid>
      <description>&lt;h2&gt;
  
  
  JAVA
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nc"&gt;Create&lt;/span&gt; &lt;span class="n"&gt;objects&lt;/span&gt; &lt;span class="n"&gt;inside&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;same&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt;

&lt;span class="nc"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Lamp&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

  &lt;span class="c1"&gt;// stores the value for light&lt;/span&gt;
  &lt;span class="c1"&gt;// true if light is on&lt;/span&gt;
  &lt;span class="c1"&gt;// false if light is off&lt;/span&gt;
  &lt;span class="kt"&gt;boolean&lt;/span&gt; &lt;span class="n"&gt;isOn&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// method to turn on the light&lt;/span&gt;
  &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;turnOn&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;isOn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&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;"Light on? "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;isOn&lt;/span&gt;&lt;span class="o"&gt;);&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="c1"&gt;// create an object of Lamp&lt;/span&gt;
    &lt;span class="nc"&gt;Lamp&lt;/span&gt; &lt;span class="n"&gt;led&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Lamp&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;

    &lt;span class="c1"&gt;// access method using object&lt;/span&gt;
    &lt;span class="n"&gt;led&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;turnOn&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;span class="no"&gt;OUTPUT&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt;
&lt;span class="nc"&gt;Light&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;

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

&lt;/div&gt;






&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;

&lt;p&gt;The SELECT DISTINCT statement is used to return only distinct (unique) values.&lt;/p&gt;

&lt;p&gt;In a table, a column may contain several duplicate values - and sometimes you want to list only the unique values.&lt;/p&gt;

&lt;p&gt;SELECT DISTINCT Syntax&lt;br&gt;
SELECT DISTINCT column1, column2, ...&lt;br&gt;
FROM table_name;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="k"&gt;DISTINCT&lt;/span&gt; &lt;span class="n"&gt;Country&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customers&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Count Distinct Values&lt;br&gt;
By using the COUNT() function with the DISTINCT keyword, we can count the number of unique countries.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="k"&gt;COUNT&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;DISTINCT&lt;/span&gt; &lt;span class="n"&gt;Country&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customers&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;References :&lt;br&gt;
&lt;a href="https://www.w3schools.com/sql/sql_distinct.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/sql/sql_distinct.asp&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.programiz.com/java-programming/class-objects" rel="noopener noreferrer"&gt;https://www.programiz.com/java-programming/class-objects&lt;/a&gt; &lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day7</category>
    </item>
    <item>
      <title>One Commit at a Time ! Series - 6</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Sun, 11 Oct 2026 13:38:41 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-6-4paa</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-6-4paa</guid>
      <description>&lt;h2&gt;
  
  
  JAVA
&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;class&lt;/span&gt; &lt;span class="nc"&gt;Lamp&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

  &lt;span class="c1"&gt;// stores the value for light&lt;/span&gt;
  &lt;span class="c1"&gt;// true if light is on&lt;/span&gt;
  &lt;span class="c1"&gt;// false if light is off&lt;/span&gt;
  &lt;span class="kt"&gt;boolean&lt;/span&gt; &lt;span class="n"&gt;isOn&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// method to turn on the light&lt;/span&gt;
  &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;turnOn&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;isOn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&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;"Light on? "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;isOn&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;

  &lt;span class="o"&gt;}&lt;/span&gt;

  &lt;span class="c1"&gt;// method to turnoff the light&lt;/span&gt;
  &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;turnOff&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;isOn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&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;"Light on? "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;isOn&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;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Main&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="c1"&gt;// create objects led and halogen&lt;/span&gt;
    &lt;span class="nc"&gt;Lamp&lt;/span&gt; &lt;span class="n"&gt;led&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Lamp&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="nc"&gt;Lamp&lt;/span&gt; &lt;span class="n"&gt;halogen&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Lamp&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;

    &lt;span class="c1"&gt;// turn on the light by&lt;/span&gt;
    &lt;span class="c1"&gt;// calling method turnOn()&lt;/span&gt;
    &lt;span class="n"&gt;led&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;turnOn&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;

    &lt;span class="c1"&gt;// turn off the light by&lt;/span&gt;
    &lt;span class="c1"&gt;// calling method turnOff()&lt;/span&gt;
    &lt;span class="n"&gt;halogen&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;turnOff&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;
  
  
  SQL
&lt;/h2&gt;

&lt;p&gt;SELECT - extracts data from a database&lt;br&gt;
UPDATE - updates data in a database&lt;br&gt;
DELETE - deletes data from a database&lt;br&gt;
INSERT INTO - inserts new data into a database&lt;br&gt;
CREATE DATABASE - creates a new database&lt;br&gt;
ALTER DATABASE - modifies a database&lt;br&gt;
CREATE TABLE - creates a new table&lt;br&gt;
ALTER TABLE - modifies a table&lt;br&gt;
DROP TABLE - deletes a table&lt;br&gt;
CREATE INDEX - creates an index (search key)&lt;br&gt;
DROP INDEX - deletes an index&lt;/p&gt;

&lt;p&gt;The most commonly used SQL aggregate functions are:&lt;/p&gt;

&lt;p&gt;MIN() - returns the smallest value of a column&lt;br&gt;
MAX() - returns the largest value of a column&lt;br&gt;
COUNT() - returns the number of rows in a set&lt;br&gt;
SUM() - returns the sum of a numerical column&lt;br&gt;
AVG() - returns the average value of a numerical column&lt;br&gt;
Aggregate functions ignore null values (except for COUNT(*)).&lt;/p&gt;




&lt;p&gt;References :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.programiz.com/java-programming/class-objects" rel="noopener noreferrer"&gt;https://www.programiz.com/java-programming/class-objects&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/sql/sql_aggregate_functions.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/sql/sql_aggregate_functions.asp&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day6</category>
    </item>
    <item>
      <title>One Commit at a Time Series - 5</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Sat, 10 Oct 2026 18:15:19 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-5-89j</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-5-89j</guid>
      <description>&lt;h2&gt;
  
  
  JAVA
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="err"&gt;###&lt;/span&gt; &lt;span class="nc"&gt;Check&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;an&lt;/span&gt; &lt;span class="n"&gt;array&lt;/span&gt; &lt;span class="n"&gt;contains&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;given&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt; &lt;span class="n"&gt;using&lt;/span&gt; &lt;span class="nc"&gt;Stream&lt;/span&gt;

&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;java.util.stream.IntStream&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Main&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="kt"&gt;int&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&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;4&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="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;toFind&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="kt"&gt;boolean&lt;/span&gt; &lt;span class="n"&gt;found&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;IntStream&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;of&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;&lt;span class="na"&gt;anyMatch&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;toFind&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;found&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="n"&gt;toFind&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s"&gt;" is found."&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;else&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="n"&gt;toFind&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s"&gt;" is not found."&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;h3&gt;
  
  
  Explanations
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;import java.util.stream.IntStream;&lt;/code&gt;&lt;/strong&gt;: Imports the &lt;code&gt;IntStream&lt;/code&gt; class from the &lt;code&gt;java.util.stream&lt;/code&gt; package, which provides methods for processing sequences of primitive integer values using functional-style operations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;class Main {&lt;/code&gt;&lt;/strong&gt;: Declares a public class named &lt;code&gt;Main&lt;/code&gt; to house the Java application.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;public static void main(String[] args) {&lt;/code&gt;&lt;/strong&gt;: The standard entry point method where the Java Virtual Machine begins program execution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;int[] num = {1, 2, 3, 4, 5};&lt;/code&gt;&lt;/strong&gt;: Declares and initializes an integer array containing the sequence of numbers from 1 to 5.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;int toFind = 7;&lt;/code&gt;&lt;/strong&gt;: Defines the target integer value (&lt;code&gt;7&lt;/code&gt;) that we want to search for in the array.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;boolean found = IntStream.of(num).anyMatch(n -&amp;gt; n == toFind);&lt;/code&gt;&lt;/strong&gt;: Converts the array into a sequential stream using &lt;code&gt;IntStream.of(num)&lt;/code&gt;, then uses the terminal operation &lt;code&gt;anyMatch()&lt;/code&gt; with a lambda expression (&lt;code&gt;n -&amp;gt; n == toFind&lt;/code&gt;) to check if any element in the stream matches the target value, storing the resulting boolean (&lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt;) in the &lt;code&gt;found&lt;/code&gt; variable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;if(found)&lt;/code&gt;&lt;/strong&gt;: Evaluates whether the boolean flag &lt;code&gt;found&lt;/code&gt; is true.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.println(toFind + " is found.");&lt;/code&gt;&lt;/strong&gt;: Executes if &lt;code&gt;found&lt;/code&gt; is true, printing a confirmation message.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;else&lt;/code&gt;&lt;/strong&gt;: Executes if the match condition evaluates to false.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.println(toFind + " is not found.");&lt;/code&gt;&lt;/strong&gt;: Prints a message stating that the target value does not exist in the array (which executes in this example since 7 is not in the array).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;

&lt;p&gt;DQL – Data Query Language - Focused on retrieving data.&lt;/p&gt;

&lt;p&gt;SELECT → Fetch data from tables.&lt;/p&gt;

&lt;p&gt;Clauses like WHERE, GROUP BY, HAVING, ORDER BY refine queries.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Age&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Students&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;Age&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Reference :&lt;br&gt;
&lt;a href="https://www.programiz.com/java-programming/examples/array-contains-value" rel="noopener noreferrer"&gt;https://www.programiz.com/java-programming/examples/array-contains-value&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day5</category>
    </item>
    <item>
      <title>One Commit at a Time Series - 4</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Fri, 09 Oct 2026 18:29:43 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-4-48am</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-4-48am</guid>
      <description>&lt;h2&gt;
  
  
  LINUX
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;man - is used to display command manuals&lt;br&gt;
grep - is used to search text patters [case sensitive]&lt;br&gt;
echo - is used to display text in terminal&lt;br&gt;
wget - is used to download files from internet using URL&lt;br&gt;
whoami - is used to display the current user&lt;br&gt;
sort - is used to sort file contents&lt;br&gt;
cal - is used to display the calendar&lt;br&gt;
whereis - is used to locate command files&lt;br&gt;
df - is used to display disk space usage&lt;br&gt;
wc - is used to display number of lines, words and bytes in the file&lt;/code&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  JAVA
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nc"&gt;Check&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nc"&gt;Int&lt;/span&gt; &lt;span class="nc"&gt;Array&lt;/span&gt; &lt;span class="n"&gt;contains&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;given&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Main&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="kt"&gt;int&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&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;4&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="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;toFind&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="kt"&gt;boolean&lt;/span&gt; &lt;span class="n"&gt;found&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;toFind&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;found&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;break&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;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;found&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="n"&gt;toFind&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s"&gt;" is found."&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;else&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="n"&gt;toFind&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s"&gt;" is not found."&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;h3&gt;
  
  
  Explanations
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;class Main&lt;/code&gt;&lt;/strong&gt;: Declares a public class named &lt;code&gt;Main&lt;/code&gt;, which serves as the container for the Java program.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;public static void main(String[] args)&lt;/code&gt;&lt;/strong&gt;: The main entry point of any Java application where execution begins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;int[] num = {1, 2, 3, 4, 5};&lt;/code&gt;&lt;/strong&gt;: Declares and initializes an integer array containing elements 1 through 5.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;int toFind = 3;&lt;/code&gt;&lt;/strong&gt;: Defines the specific integer value we want to check for in the array.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;boolean found = false;&lt;/code&gt;&lt;/strong&gt;: Initializes a boolean flag to track whether the target value has been located.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;for (int n : num)&lt;/code&gt;&lt;/strong&gt;: Iterates sequentially through each element in the array.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;if (n == toFind)&lt;/code&gt;&lt;/strong&gt;: Checks if the current array element matches the target value.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;found = true;&lt;/code&gt;&lt;/strong&gt;: Updates the flag to true since the value has been matched.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;break;&lt;/code&gt;&lt;/strong&gt;: Exits the loop immediately once the value is found to save processing time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;if(found)&lt;/code&gt;&lt;/strong&gt;: Evaluates whether the flag remains true after the loop completes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.println(toFind + " is found.");&lt;/code&gt;&lt;/strong&gt;: Prints a confirmation message if the value exists in the array.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;System.out.println(toFind + " is not found.");&lt;/code&gt;&lt;/strong&gt;: Prints a message if the loop completed without finding the value.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;

&lt;p&gt;DML – Data Manipulation Language&lt;br&gt;
Used to manipulate data stored in tables.&lt;/p&gt;

&lt;p&gt;INSERT → Add new records.&lt;/p&gt;

&lt;p&gt;UPDATE → Modify existing records.&lt;/p&gt;

&lt;p&gt;DELETE → Remove records.&lt;/p&gt;

&lt;p&gt;MERGE → Combine data from multiple sources.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;INSERT&lt;/span&gt; &lt;span class="k"&gt;INTO&lt;/span&gt; &lt;span class="n"&gt;Students&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;StudentID&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Age&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;VALUES&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Annapoorani'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;References :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/linux-unix/basic-linux-commands/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/linux-unix/basic-linux-commands/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day4</category>
    </item>
    <item>
      <title>One Commit at a Time Series - 3</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Thu, 08 Oct 2026 18:24:50 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-3-2ke8</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-3-2ke8</guid>
      <description>&lt;h2&gt;
  
  
  LINUX
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;mv - is used to move or rename files and directories&lt;br&gt;
rm - is used to delete files permanently&lt;br&gt;
uname - is used to display system information&lt;br&gt;
locate - is used to find files using a database&lt;br&gt;
touch - is used to create empty files and updates file timestamps&lt;br&gt;
ln - is used to create links between files&lt;br&gt;
clear - is used to clear the terminal screen&lt;br&gt;
ps - is used to display running processes&lt;/code&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  JAVA
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Java is platform independent Language&lt;/li&gt;
&lt;li&gt;Java stores file as bytecode, which helps to run the same file in different OS, make it platform independent&lt;/li&gt;
&lt;li&gt;JDK converts into bytecode (.class files) and JIT converts it into Binary code for machine understandable language, after conversion its handled by JVM.&lt;/li&gt;
&lt;li&gt;All these process runs in JRE [ Java Runtime Environment ]&lt;/li&gt;
&lt;li&gt;toString() is a method used to convert objects into that data type.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Print an Array using For loop
public class Array {

    public static void main(String[] args) {
        int[] array = {1, 2, 3, 4, 5};

        for (int element: array) {
            System.out.println(element);
        }
    }
}

# Print an Array using standard library Arrays
import java.util.Arrays;

public class Array {

    public static void main(String[] args) {
        int[] array = {1, 2, 3, 4, 5};

        System.out.println(Arrays.toString(array));
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  SPRINGBOOT
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1bq8sn2blkklwf9c6vqa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1bq8sn2blkklwf9c6vqa.png" alt=" " width="800" height="585"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;
&lt;h2&gt;
  
  
  DDL – Data Definition Language
&lt;/h2&gt;

&lt;p&gt;Used to define and modify database structures.&lt;/p&gt;

&lt;p&gt;CREATE → Create tables, databases, indexes, views.&lt;/p&gt;

&lt;p&gt;ALTER → Modify existing database objects.&lt;/p&gt;

&lt;p&gt;DROP → Delete database objects.&lt;/p&gt;

&lt;p&gt;TRUNCATE → Remove all records from a table (faster than DELETE).&lt;/p&gt;

&lt;p&gt;RENAME → Change the name of a database object.&lt;/p&gt;

&lt;p&gt;👉 Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CREATE TABLE Students (
   StudentID INT PRIMARY KEY,
   Name VARCHAR(50),
   Age INT
);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Reference&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.programiz.com/java-programming/examples/print-array" rel="noopener noreferrer"&gt;https://www.programiz.com/java-programming/examples/print-array&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/java/difference-between-spring-and-spring-boot/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/java/difference-between-spring-and-spring-boot/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/JAVA/ref_string_tostring.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/JAVA/ref_string_tostring.asp&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day3</category>
    </item>
    <item>
      <title>One Commit at a Time Series - 2</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Wed, 07 Oct 2026 17:08:01 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-2-2l0c</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-2-2l0c</guid>
      <description>&lt;h2&gt;
  
  
  Linux
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cp → copy files

mv → move or rename files

cat → view file contents

locate → quickly find files by name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  SPRING vs SPRINGBOOT
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa0w9y6x2epn9p61qx8yt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa0w9y6x2epn9p61qx8yt.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  JAVA
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#Find ASCII value of a character
public class AsciiValue {

    public static void main(String[] args) {

        char ch = 'a';
        int ascii = ch;
        // You can also cast char to int
        int castAscii = (int) ch;

        System.out.println("The ASCII value of " + ch + " is: " + ascii);
        System.out.println("The ASCII value of " + ch + " is: " + castAscii);
    }
}

Output

The ASCII value of a is: 97
The ASCII value of a is: 97
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Full Form&lt;/th&gt;
&lt;th&gt;Common Commands&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;DDL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data Definition Language&lt;/td&gt;
&lt;td&gt;CREATE, ALTER, DROP, TRUNCATE&lt;/td&gt;
&lt;td&gt;Define/modify database structure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;DML&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data Manipulation Language&lt;/td&gt;
&lt;td&gt;INSERT, UPDATE, DELETE, MERGE&lt;/td&gt;
&lt;td&gt;Manage data inside tables&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;DQL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data Query Language&lt;/td&gt;
&lt;td&gt;SELECT&lt;/td&gt;
&lt;td&gt;Retrieve data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;DCL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data Control Language&lt;/td&gt;
&lt;td&gt;GRANT, REVOKE&lt;/td&gt;
&lt;td&gt;Manage user permissions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;TCL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Transaction Control Language&lt;/td&gt;
&lt;td&gt;COMMIT, ROLLBACK, SAVEPOINT&lt;/td&gt;
&lt;td&gt;Control transactions&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;Reference :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/sql/sql-ddl-dql-dml-dcl-tcl-commands/?utm_source=copilot.com" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/sql/sql-ddl-dql-dml-dcl-tcl-commands/?utm_source=copilot.com&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/linux-unix/basic-linux-commands/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/linux-unix/basic-linux-commands/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>100daysofcode</category>
      <category>day2</category>
    </item>
    <item>
      <title>One Commit at a Time Series - 1</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Tue, 06 Oct 2026 18:22:30 +0000</pubDate>
      <link>https://dev.to/annapoo/one-commit-at-a-time-series-1-55g2</link>
      <guid>https://dev.to/annapoo/one-commit-at-a-time-series-1-55g2</guid>
      <description>&lt;p&gt;Sharing my journey of One Commit at a time series, where I learn and share it here. Hoping to bring a huge impact at the end of this series. Starting with Day - 1 :&lt;/p&gt;

&lt;h2&gt;
  
  
  LINUX
&lt;/h2&gt;

&lt;p&gt;Commands and its usage :&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ls - list the files&lt;br&gt;
 cd - change directory&lt;br&gt;
pwd - present working directory&lt;br&gt;
mkdir [dirname] - make a directory&lt;br&gt;
rmdir [dirname] - remove a directory&lt;br&gt;
cd / cd ~ / cd $HOME - move to home&lt;br&gt;
cat &amp;gt;filename  - create a file in directory with write mode&lt;br&gt;
touch filename - create a file in directory&lt;br&gt;
echo "content" &amp;gt;&amp;gt;filename - write content in the respective file&lt;br&gt;
cat filename - to view the content inside the file&lt;/code&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  JAVA
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nc"&gt;Program&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="n"&gt;odd&lt;/span&gt; &lt;span class="n"&gt;or&lt;/span&gt; &lt;span class="n"&gt;even&lt;/span&gt;

&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;java.util.Scanner&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;class&lt;/span&gt; &lt;span class="nc"&gt;OddOrEven&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="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;[]){&lt;/span&gt;
&lt;span class="nc"&gt;Scanner&lt;/span&gt; &lt;span class="n"&gt;sc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Scanner&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;in&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;"Enter the number:"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;sc&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;nextInt&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&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;"The given number is Even : "&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;else&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;"The given number is Odd : "&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt; 
&lt;span class="n"&gt;sc&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;close&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;
  
  
  SPRINGBOOT
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Spring is a framework, which is used in building enterprise level applications.&lt;/li&gt;
&lt;li&gt;Spring will take care of object creation, we don't have to create any objects.&lt;/li&gt;
&lt;li&gt;It helps in creating loosely coupled application and also can integrate other frameworks easily.&lt;/li&gt;
&lt;li&gt;SpringBoot is the first project created by spring, hence it closely resembles spring.&lt;/li&gt;
&lt;li&gt;SpringBoot is famous for its conventions over configurations.&lt;/li&gt;
&lt;li&gt;It also have embedded server (Tomcat) available with it. Without server, it will show as "This site can't be reached".&lt;/li&gt;
&lt;li&gt;Using SpringBoot, APIs can be built in minutes. [ HTTP Methods : GET, POST, PUT, DELETE ]&lt;/li&gt;
&lt;li&gt;SpringBoot is a standalone application where output can be seen in IDE terminal rather than running it in a web browser.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  SQL
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="k"&gt;To&lt;/span&gt; &lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;Customer&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="n"&gt;starts&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="s1"&gt;'M'&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customers&lt;/span&gt;  &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;LIKE&lt;/span&gt; &lt;span class="s1"&gt;'%M'&lt;/span&gt;

&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="k"&gt;To&lt;/span&gt; &lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;customer&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="n"&gt;ends&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="s1"&gt;'n'&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customers&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;LIKE&lt;/span&gt; &lt;span class="s1"&gt;'%n'&lt;/span&gt;

&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="k"&gt;To&lt;/span&gt; &lt;span class="k"&gt;Select&lt;/span&gt; &lt;span class="n"&gt;Customer&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="n"&gt;which&lt;/span&gt; &lt;span class="k"&gt;contains&lt;/span&gt; &lt;span class="s1"&gt;'r'&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;their&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customer&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;LIKE&lt;/span&gt; &lt;span class="s1"&gt;'%r%'&lt;/span&gt;

&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="k"&gt;To&lt;/span&gt; &lt;span class="k"&gt;Select&lt;/span&gt; &lt;span class="n"&gt;Customer&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="n"&gt;whose&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="n"&gt;has&lt;/span&gt; &lt;span class="s1"&gt;'r'&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="n"&gt;rd&lt;/span&gt; &lt;span class="k"&gt;position&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;Customer&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;LIKE&lt;/span&gt; &lt;span class="s1"&gt;'__r%'&lt;/span&gt; 

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

&lt;/div&gt;



&lt;p&gt;References :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/linux-unix/basic-linux-commands/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/linux-unix/basic-linux-commands/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/linux-unix/different-ways-to-create-file-in-linux/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/linux-unix/different-ways-to-create-file-in-linux/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=SSKVgrwhzus&amp;amp;list=PLNcg_FV9n7qZY_2eAtUzEUulNjTJREhQe&amp;amp;index=1" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=SSKVgrwhzus&amp;amp;list=PLNcg_FV9n7qZY_2eAtUzEUulNjTJREhQe&amp;amp;index=1&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=7d0c_CaHgEc" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=7d0c_CaHgEc&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/JAVA/java_practice.php" rel="noopener noreferrer"&gt;https://www.w3schools.com/JAVA/java_practice.php&lt;/a&gt;&lt;/p&gt;

</description>
      <category>learning</category>
      <category>programming</category>
      <category>100daysofcode</category>
      <category>day1</category>
    </item>
    <item>
      <title>Understanding VMware and Virtualization - Part 2</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Mon, 14 Sep 2026 16:02:18 +0000</pubDate>
      <link>https://dev.to/annapoo/understanding-vmware-and-virtualization-part-2-5dd8</link>
      <guid>https://dev.to/annapoo/understanding-vmware-and-virtualization-part-2-5dd8</guid>
      <description>&lt;h2&gt;
  
  
  What Is VMware ESXi?
&lt;/h2&gt;

&lt;p&gt;VMware ESXi is a Type 1, or bare-metal, hypervisor.&lt;/p&gt;

&lt;p&gt;It is installed directly on a physical server.&lt;/p&gt;

&lt;p&gt;Physical Server&lt;br&gt;
      ↓&lt;br&gt;
     ESXi&lt;br&gt;
      ↓&lt;br&gt;
 ┌────┼────┐&lt;br&gt;
 ↓     ↓    ↓&lt;br&gt;
VM1  VM2  VM3&lt;/p&gt;

&lt;p&gt;ESXi provides the virtualization layer.&lt;/p&gt;

&lt;p&gt;It allows multiple VMs to share the physical resources of the server.&lt;/p&gt;

&lt;p&gt;For example, imagine a physical server has:&lt;/p&gt;

&lt;p&gt;CPU: 32 cores&lt;br&gt;
RAM: 128 GB&lt;br&gt;
Storage: 2 TB&lt;/p&gt;

&lt;p&gt;ESXi can host multiple VMs on that server.&lt;/p&gt;

&lt;p&gt;Each VM can be assigned a certain amount of CPU, memory, storage, and network connectivity.&lt;/p&gt;




&lt;h2&gt;
  
  
  How Does VMware Virtualization Work?
&lt;/h2&gt;

&lt;p&gt;Let's understand the complete flow.&lt;/p&gt;

&lt;p&gt;Step 1: Physical Server&lt;/p&gt;

&lt;p&gt;First, we have a physical server containing hardware resources.&lt;/p&gt;

&lt;p&gt;CPU&lt;br&gt;
RAM&lt;br&gt;
Storage&lt;br&gt;
Network&lt;br&gt;
Step 2: Install ESXi&lt;/p&gt;

&lt;p&gt;ESXi is installed directly on the physical server.&lt;/p&gt;

&lt;p&gt;Physical Hardware&lt;br&gt;
       ↓&lt;br&gt;
      ESXi&lt;br&gt;
Step 3: Create Virtual Machines&lt;/p&gt;

&lt;p&gt;The administrator creates VMs on the ESXi host.&lt;/p&gt;

&lt;p&gt;ESXi&lt;br&gt;
 ├── VM1&lt;br&gt;
 ├── VM2&lt;br&gt;
 └── VM3&lt;br&gt;
Step 4: Assign Resources&lt;/p&gt;

&lt;p&gt;Each VM receives virtual resources.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;VM1 → 4 vCPU + 8 GB RAM&lt;br&gt;
VM2 → 2 vCPU + 4 GB RAM&lt;br&gt;
VM3 → 4 vCPU + 16 GB RAM&lt;br&gt;
Step 5: Install Operating Systems&lt;/p&gt;

&lt;p&gt;Each VM can have a supported operating system.&lt;/p&gt;

&lt;p&gt;VM1 → Windows&lt;br&gt;
VM2 → Linux&lt;br&gt;
VM3 → Linux&lt;br&gt;
Step 6: Run Applications&lt;/p&gt;

&lt;p&gt;Applications are installed inside the guest operating systems.&lt;/p&gt;

&lt;p&gt;The result is multiple independent workloads running on the same physical server.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Is a VMware Host?
&lt;/h2&gt;

&lt;p&gt;A host is a physical server running ESXi.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;Physical Server&lt;br&gt;
      ↓&lt;br&gt;
     ESXi&lt;br&gt;
      ↓&lt;br&gt;
     Host&lt;br&gt;
      ↓&lt;br&gt;
     VMs&lt;/p&gt;

&lt;p&gt;A large enterprise environment may contain many ESXi hosts.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;ESXi Host 1&lt;br&gt;
ESXi Host 2&lt;br&gt;
ESXi Host 3&lt;br&gt;
ESXi Host 4&lt;/p&gt;

&lt;p&gt;These hosts can be managed together.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Is vCenter Server?
&lt;/h2&gt;

&lt;p&gt;When an organization has many ESXi hosts, managing each host individually can become difficult.&lt;/p&gt;

&lt;p&gt;This is where vCenter Server is used.&lt;/p&gt;

&lt;p&gt;vCenter provides centralized management for VMware infrastructure.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;            vCenter
               ↓
    ┌──────────┼──────────┐
    ↓          ↓          ↓
 ESXi 1     ESXi 2     ESXi 3
    ↓          ↓          ↓
   VMs        VMs        VMs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Through vCenter, administrators can manage resources and perform operations across supported VMware infrastructure.&lt;/p&gt;

&lt;p&gt;For a beginner, remember:&lt;/p&gt;

&lt;p&gt;ESXi runs the VMs. vCenter manages the VMware environment centrally.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Is VMware vSphere?
&lt;/h2&gt;

&lt;p&gt;vSphere is VMware's server virtualization platform.&lt;/p&gt;

&lt;p&gt;It brings together the technologies used to create and manage virtualized infrastructure.&lt;/p&gt;

&lt;p&gt;A simplified view is:&lt;/p&gt;

&lt;p&gt;vSphere&lt;br&gt;
   │&lt;br&gt;
   ├── ESXi&lt;br&gt;
   │&lt;br&gt;
   └── vCenter&lt;/p&gt;

&lt;p&gt;It is important not to confuse these terms.&lt;/p&gt;

&lt;p&gt;ESXi is the hypervisor.&lt;/p&gt;

&lt;p&gt;vCenter provides centralized management.&lt;/p&gt;

&lt;p&gt;vSphere refers broadly to the VMware virtualization platform.&lt;/p&gt;

&lt;p&gt;Exact product packaging and licensing can vary by VMware/Broadcom product version, so beginners should always check the documentation for the specific version they are learning.&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>virtualmachine</category>
      <category>beginners</category>
      <category>basic</category>
    </item>
    <item>
      <title>Understanding VMware and Virtualization - Part 1</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Wed, 09 Sep 2026 18:24:41 +0000</pubDate>
      <link>https://dev.to/annapoo/understanding-vmware-and-virtualization-part-1-2e5c</link>
      <guid>https://dev.to/annapoo/understanding-vmware-and-virtualization-part-1-2e5c</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Modern IT infrastructure has changed significantly over the last few decades. Earlier, organizations often needed a separate physical server for every application or workload. As the number of applications increased, this approach became expensive, difficult to maintain, and inefficient.&lt;/p&gt;

&lt;p&gt;This is where &lt;strong&gt;virtualization&lt;/strong&gt; became important.&lt;/p&gt;

&lt;p&gt;Virtualization allows a single physical server to run multiple &lt;strong&gt;virtual machines (VMs)&lt;/strong&gt;. Each virtual machine behaves like an independent computer with its own operating system, CPU, memory, storage, and network connection.&lt;/p&gt;

&lt;p&gt;One of the most widely known technologies in enterprise virtualization is &lt;strong&gt;VMware&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;But what exactly is virtualization? What is VMware? Where are these technologies used? And how do they actually work?&lt;/p&gt;

&lt;p&gt;This blog answers these questions in a simple way.&lt;/p&gt;




&lt;h1&gt;
  
  
  1. What Is Virtualization?
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Virtualization is the process of creating a virtual version of a physical computing resource.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The most common example is server virtualization.&lt;/p&gt;

&lt;p&gt;Imagine a physical server with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;16 CPU cores&lt;/li&gt;
&lt;li&gt;64 GB RAM&lt;/li&gt;
&lt;li&gt;1 TB storage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without virtualization, the organization might install one operating system directly on the server and run its applications there.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Physical Server
      ↓
Operating System
      ↓
Application
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The problem is that the server may not use all of its CPU and memory all the time.&lt;/p&gt;

&lt;p&gt;Virtualization allows the same physical server to run multiple virtual machines.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;             Physical Server
                    ↓
               Hypervisor
          ┌─────────┼─────────┐
          ↓         ↓         ↓
         VM1       VM2       VM3
          ↓         ↓         ↓
       Windows     Linux     Linux
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each VM can run its own operating system and applications.&lt;/p&gt;

&lt;p&gt;Therefore, virtualization helps organizations use physical hardware more efficiently.&lt;/p&gt;




&lt;h1&gt;
  
  
  2. What Is a Virtual Machine?
&lt;/h1&gt;

&lt;p&gt;A &lt;strong&gt;Virtual Machine&lt;/strong&gt;, or VM, is a software-based computer running on a physical server.&lt;/p&gt;

&lt;p&gt;Although a VM is not a physical computer, it behaves like one.&lt;/p&gt;

&lt;p&gt;A VM can have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Virtual CPU&lt;/li&gt;
&lt;li&gt;Virtual memory&lt;/li&gt;
&lt;li&gt;Virtual hard disk&lt;/li&gt;
&lt;li&gt;Virtual network adapter&lt;/li&gt;
&lt;li&gt;Operating system&lt;/li&gt;
&lt;li&gt;Applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;VM
├── 4 vCPU
├── 8 GB RAM
├── 100 GB Virtual Disk
├── Virtual Network Adapter
└── Windows/Linux
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From the perspective of the operating system installed inside the VM, it behaves much like a normal computer.&lt;/p&gt;

&lt;p&gt;The important difference is that its hardware resources are virtualized.&lt;/p&gt;




&lt;h1&gt;
  
  
  3. What Is a Hypervisor?
&lt;/h1&gt;

&lt;p&gt;The technology that makes virtualization possible is called a &lt;strong&gt;hypervisor&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A hypervisor is software that creates and manages virtual machines.&lt;/p&gt;

&lt;p&gt;It sits between the physical hardware and the VMs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Physical Hardware
       ↓
    Hypervisor
       ↓
 ┌─────┼─────┐
 ↓     ↓     ↓
VM1   VM2   VM3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The hypervisor manages resources such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CPU&lt;/li&gt;
&lt;li&gt;Memory&lt;/li&gt;
&lt;li&gt;Storage&lt;/li&gt;
&lt;li&gt;Networking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It allocates these resources to virtual machines according to their configuration and the requirements of the environment.&lt;/p&gt;




&lt;h1&gt;
  
  
  4. Where Does Virtualization Take Place?
&lt;/h1&gt;

&lt;p&gt;Virtualization normally takes place on a &lt;strong&gt;physical server&lt;/strong&gt;, commonly located in a data center.&lt;/p&gt;

&lt;p&gt;For example, a company's data center might contain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Data Center
│
├── Physical Server 1
├── Physical Server 2
├── Physical Server 3
├── Storage
└── Network Devices
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A hypervisor can be installed on these physical servers.&lt;/p&gt;

&lt;p&gt;The hypervisor then allows multiple VMs to run on each server.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Physical Server
      ↓
   Hypervisor
      ↓
 ┌────┼────┐
VM1  VM2   VM3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Virtualization is widely used in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enterprise data centers&lt;/li&gt;
&lt;li&gt;Private clouds&lt;/li&gt;
&lt;li&gt;Hybrid cloud environments&lt;/li&gt;
&lt;li&gt;Development and testing environments&lt;/li&gt;
&lt;li&gt;Virtual desktop infrastructure&lt;/li&gt;
&lt;li&gt;Disaster recovery environments&lt;/li&gt;
&lt;li&gt;Application hosting&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  5. What Is VMware?
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;VMware&lt;/strong&gt; is a technology company known for virtualization and enterprise infrastructure software.&lt;/p&gt;

&lt;p&gt;VMware became one of the major names in server virtualization by providing technologies that allow organizations to create, manage, and operate virtual machines at scale.&lt;/p&gt;

&lt;p&gt;Today, VMware is part of &lt;strong&gt;Broadcom&lt;/strong&gt; following Broadcom's acquisition of VMware.&lt;/p&gt;

&lt;p&gt;For a beginner, VMware should not be viewed as just one software product.&lt;/p&gt;

&lt;p&gt;It is better to think of VMware as an ecosystem of technologies used to build and manage virtualized infrastructure.&lt;/p&gt;

&lt;p&gt;Some important VMware terms are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ESXi&lt;/li&gt;
&lt;li&gt;vSphere&lt;/li&gt;
&lt;li&gt;vCenter Server&lt;/li&gt;
&lt;li&gt;Virtual Machines&lt;/li&gt;
&lt;li&gt;Hosts&lt;/li&gt;
&lt;li&gt;Clusters&lt;/li&gt;
&lt;li&gt;Datastores&lt;/li&gt;
&lt;li&gt;Virtual Networks&lt;/li&gt;
&lt;li&gt;vMotion&lt;/li&gt;
&lt;li&gt;High Availability&lt;/li&gt;
&lt;li&gt;DRS&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>cloud</category>
      <category>beginners</category>
      <category>virtualmachine</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Calculating Subnetting</title>
      <dc:creator>Annapoorani Kadhiravan</dc:creator>
      <pubDate>Thu, 03 Sep 2026 17:48:45 +0000</pubDate>
      <link>https://dev.to/annapoo/calculating-subnetting-2ang</link>
      <guid>https://dev.to/annapoo/calculating-subnetting-2ang</guid>
      <description>&lt;p&gt;network&lt;br&gt;
subnet&lt;br&gt;
host name&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
