<?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: Pavithraarunachalam</title>
    <description>The latest articles on DEV Community by Pavithraarunachalam (@paviarunachalam).</description>
    <link>https://dev.to/paviarunachalam</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3213020%2Feb3f42a3-9b37-4f23-9ae7-efb8ea064a32.png</url>
      <title>DEV Community: Pavithraarunachalam</title>
      <link>https://dev.to/paviarunachalam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/paviarunachalam"/>
    <language>en</language>
    <item>
      <title>ArrayList in the Java Collection Framework.</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Thu, 28 Aug 2025 16:38:17 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/arraylist-in-the-java-collection-framework-if</link>
      <guid>https://dev.to/paviarunachalam/arraylist-in-the-java-collection-framework-if</guid>
      <description>&lt;h2&gt;
  
  
  ArrayList Methods in java:
&lt;/h2&gt;

&lt;p&gt;In Java, ArrayList is a part of the Java Collections Framework and provides many useful methods to store, manipulate, and retrieve data dynamically. &lt;/p&gt;

&lt;h2&gt;
  
  
  Commonly used ArrayList Methods:
&lt;/h2&gt;

&lt;h2&gt;
  
  
  1. Adding Elements:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;add(E e)-&amp;gt; Adds the elements at the end&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;List.add("Apple");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;add(int index, E e) → Adds an element at the specified index.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.add(1, "Banana");

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;addAll(Collection c) → Adds all elements from another collection.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.addAll(otherList);

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  2.Accessing Elements:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;get(int index) → Returns the element at the given index.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Examples:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;String fruit = list.get(0);

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Changing Elements:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;set(int index, E e) → Updates the element at the specified index.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.set(1, "Mango");

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  4. Removing Elements:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;remove(int index) → Removes the element at the given index.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.remove(2);

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;remove(Object o) → Removes the first occurrence of the given element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.remove("Apple");

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;clear() → Removes all elements from the list.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.clear();

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

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Searching Elements:&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;contains(Object o) → Returns true if the list contains the element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.contains("Mango");

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;indexOf(Object o) → Returns the first index of the element, or -1 if not found.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int index = list.indexOf("Banana");

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;lastIndexOf(Object o) → Returns the last index of the element.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int index = list.lastIndexOf("Apple");

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

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Size and Empty Check:&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;size() → Returns the number of elements in the list.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  EXample:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int count = list.size();

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;isEmpty() → Returns true if the list is empty.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;isEmpty() → Returns true if the list is empty.

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  7. Converting to Array:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;toArray() → Converts the list to an array.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Object[] arr = list.toArray();

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  8. Iteration:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;iterator() → Returns an iterator to traverse the list.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;listIterator() → Returns a list iterator for forward and backward traversal.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Iterator&amp;lt;String&amp;gt; it = list.iterator();

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  9. Sorting (Using Collections):
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Collections.sort(list);

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

&lt;/div&gt;



</description>
      <category>java</category>
      <category>programming</category>
    </item>
    <item>
      <title>Collections in Java</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Tue, 26 Aug 2025 16:59:36 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/collections-in-java-855</link>
      <guid>https://dev.to/paviarunachalam/collections-in-java-855</guid>
      <description>&lt;h2&gt;
  
  
  what is collection in java?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A Collection in Java is like a container that is used to store a group of objects together and perform operations like adding, removing, searching, and sorting easily.&lt;/li&gt;
&lt;li&gt;It is part of the Java Collection Framework in the java.util package.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Points:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Present in java.util package.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Dynamic size → can grow or shrink.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Built-in methods → add, remove, search, sort, etc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Supports interfaces: List, Set, Queue, Map.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Main Parts of the Java Collection Framework:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Interface&lt;/li&gt;
&lt;li&gt;Implementation class&lt;/li&gt;
&lt;li&gt;Algorithms&lt;/li&gt;
&lt;li&gt;Iterators&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Interfaces:
&lt;/h2&gt;

&lt;p&gt;They provide the blueprint for collections.&lt;/p&gt;

&lt;p&gt;Main interfaces:&lt;/p&gt;

&lt;p&gt;Collection (root interface)&lt;/p&gt;

&lt;p&gt;List → Ordered, allows duplicates&lt;/p&gt;

&lt;p&gt;Set → No duplicates&lt;/p&gt;

&lt;p&gt;Queue → FIFO (First In First Out)&lt;/p&gt;

&lt;p&gt;Map (separate, stores Key–Value pairs)&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Implementations (Classes):
&lt;/h2&gt;

&lt;p&gt;These are the actual classes that implement the interfaces.&lt;/p&gt;

&lt;p&gt;Interface         Common Classes&lt;/p&gt;

&lt;p&gt;List       -            ArrayList, LinkedList, Vector, Stack&lt;/p&gt;

&lt;p&gt;Set        -           HashSet, LinkedHashSet, TreeSet&lt;/p&gt;

&lt;p&gt;Queue       -          PriorityQueue, LinkedList, ArrayDeque&lt;/p&gt;

&lt;p&gt;Map         -        HashMap, LinkedHashMap, TreeMap, Hashtable&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Algorithms:
&lt;/h2&gt;

&lt;p&gt;Utility methods provided by the Collections class:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Sorting → Collections.sort(list)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Searching → Collections.binarySearch(list, key)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Shuffling → Collections.shuffle(list)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Reverse → Collections.reverse(list)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Iterators:
&lt;/h2&gt;

&lt;p&gt;Used to traverse elements in a collection:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Iterator → Basic iterator, forward direction.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ListIterator → Forward &amp;amp; backward traversal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enumeration → Legacy iterator for older collections.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>programming</category>
      <category>java</category>
    </item>
    <item>
      <title>Method Overriding in Java..</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Wed, 30 Jul 2025 12:12:54 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/method-overriding-in-java-9h4</link>
      <guid>https://dev.to/paviarunachalam/method-overriding-in-java-9h4</guid>
      <description>&lt;h2&gt;
  
  
  What is method overriding?
&lt;/h2&gt;

&lt;p&gt;Method Overriding is  a subclass(child class) to provide a specific implementation of a method that is already defined in its superclass(parent class).&lt;/p&gt;

&lt;h2&gt;
  
  
  Why use method overriding?
&lt;/h2&gt;

&lt;p&gt;To change the behavior of a method in a subclass without modifying the superclass. It helps achieve runtime polymorphism (deciding which method to call during program execution).&lt;/p&gt;

&lt;h2&gt;
  
  
  Rules of Method Overriding in Java:
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  - The method name must be the same.

  - The parameters (number and type) must be the same.

  - The return type must be the same (or covariant).

  -  The method in the parent class must not be:

              1. private (not accessible)

              2. final (cannot be changed)

              3. static (belongs to class not object)

              4. You can use @Override to help catch errors.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Constructor,this Keyword,Packages...</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Tue, 22 Jul 2025 09:12:50 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/constructorthis-keywordpackages-2529</link>
      <guid>https://dev.to/paviarunachalam/constructorthis-keywordpackages-2529</guid>
      <description>&lt;h2&gt;
  
  
  Constructor:
&lt;/h2&gt;

&lt;p&gt;Zero Argument constructor:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A zero-argument constructor is a constructor that takes no parameters.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You write it explicitly to set up default or custom values for an object.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class MyClass {
    // Zero-argument constructor
    MyClass() {
        System.out.println("Zero-argument constructor called");
    }
}

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Default constructor:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A default constructor is a constructor that Java provides automatically only if you don’t define any constructor in your class.
It:

&lt;ul&gt;
&lt;li&gt;Takes no arguments.&lt;/li&gt;
&lt;li&gt;Initializes object with default values (like 0, null, false, etc.).&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Student {
    int id;
    String name;
}

// Java automatically provides a default constructor:
// Student() { }

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  This:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;This Keyword.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The this keyword in Java refers to the current object in a method or constructor.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This keyword is used to differentiate between local and global variable.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When local variable names are the same as instance variables, this is used to differentiate&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Student {
    String name;

    public Student(String name) {
        this.name = name; 
    }
}

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Package:
&lt;/h2&gt;

&lt;p&gt;In java packages means folder.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why use packages?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Avoid class name conflicts.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Make code easier to maintain and understand.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  create package:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;package com.indianBank;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  compile package:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;javac -d . classname.java&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Run package:
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;java filename&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Constructor in Java..</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Sun, 20 Jul 2025 16:10:04 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/constructor-in-java-5cjg</link>
      <guid>https://dev.to/paviarunachalam/constructor-in-java-5cjg</guid>
      <description>&lt;h2&gt;
  
  
  Constructor:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In Java, a constructor is a special method used to initialize objects. It's called when an object of a class is created.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In constructor JVM is the default constructor. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is the uses of constructor?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;constructors are special methods used to initialize objects when they are created. They have the same name as the class and no return type (not even void).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Characteristics:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A constructor must have the same name as the class in which it is declared.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Constructors do not have a return type, not even void.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A constructor is automatically invoked when an object is created.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Java allows constructor overloading—you can define multiple constructors with different parameter lists.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Types of constructors:
&lt;/h2&gt;

&lt;h2&gt;
  
  
  1. Default constructor in java:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt; In default constructor they will not provide an arguments, provided by Java if no other constructor is defined.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Default constructor Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Car {
       Car() {
        System.out.println("This is a car.");
    }
}

public class Main {
    public static void main(String[] args) {
        Car myCar = new Car();  

    }
}

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Output:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This is a car.

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Arguments constructor in java:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Constructor arguments are values you pass to a constructor when you create an object.These arguments helps initialize the objects with specific values.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Argument constructor Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Market
{
static String marketName = "Pragyaa";
String prodname;
int price;

public Market(String s, int i)
{
System.out.println("I'm constructor");
prodname = s;
price = i; 
}

public static void main(String[] args)
{
Market prod1 = new Market("abc",100);
Market prod2 = new Market("xyz",2000);
System.out.println(prod1.prodname);
System.out.println(prod2.prodname);
System.out.println(prod2.price);
}
}

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Output:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;I'm constructor
I'm constructor
abc
xyz
2000

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

&lt;/div&gt;



</description>
      <category>java</category>
      <category>programming</category>
    </item>
    <item>
      <title>Method Overloading,Default Values..</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Wed, 16 Jul 2025 13:46:26 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/method-overloadingdefault-values-3fja</link>
      <guid>https://dev.to/paviarunachalam/method-overloadingdefault-values-3fja</guid>
      <description>&lt;h3&gt;
  
  
  Method Overloading:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Method Overloading in Java means defining multiple methods with the same name in a class, but with different parameter lists.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It allows a class to perform similar actions in different ways based on the type or number of inputs.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class SuperMarket
{
static String shopName="Pavithra";
String prodname;
int price;
public static void main(String []args)
{
SuperMarket Product1=new SuperMarket();
Product1.buy(10);
Product1.buy(15,100);
Product1.buy(10.5);
Product1.buy(10.5f);
System.out.println(10);
System.out.println(10.5f);
System.out.println("hii");
}
void buy(double dd)
{
System.out.println("buy one double arg"+dd);
}
void buy(int no)
{
System.out.println("buy one arg"+no);
}
void buy(int n01,int n02)
{
System.out.println("buy two args"+n01+""+n02);
}
}

`

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Output:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;buy one arg10
buy two args15100
buy one double arg10.5
buy one double arg10.5
10
10.5
hii

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Default values:
&lt;/h2&gt;

&lt;p&gt;In Java, &lt;strong&gt;default values&lt;/strong&gt; are the values that Java &lt;strong&gt;automatically assigns&lt;/strong&gt; to &lt;strong&gt;instance variables&lt;/strong&gt; if you don’t give them a value.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For example, numbers get &lt;code&gt;0&lt;/code&gt;, booleans get &lt;code&gt;false&lt;/code&gt;, and objects (like &lt;code&gt;String&lt;/code&gt;) get &lt;code&gt;null&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;This happens &lt;strong&gt;only for variables declared in a class&lt;/strong&gt;, not inside methods.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Local variables &lt;strong&gt;must be given a value&lt;/strong&gt; before you use them — Java will show an error if you don’t.&lt;/p&gt;

</description>
      <category>method</category>
      <category>java</category>
      <category>programming</category>
    </item>
    <item>
      <title>Keyword,Return type,Method,Objects,Void&amp;Variables...</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Tue, 15 Jul 2025 16:52:56 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/keywordreturn-typemethodobjectsvoidvariables-31jn</link>
      <guid>https://dev.to/paviarunachalam/keywordreturn-typemethodobjectsvoidvariables-31jn</guid>
      <description>&lt;h2&gt;
  
  
  Keywords:
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Static :
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;static keyword refers to class specific information.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Static keyword have only one memory copy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the static keyword class can common for all object.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Non-static:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Non-Static Keyword refers to object specific information.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Non static have multiple memory copy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the non static keyword object have the specific information.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Return Type:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The return statement is used to exit from a method and optionally pass a value back to the code that called the method.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Return statement is the last statement in the method definition.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If the method has a return type (like int, String, boolean, etc.), return sends a value of that type back.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If the method is declared as void, return; simply ends the method early (and doesn’t return any value).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;String buy()
{
System.out.println("buy method");
return "thank you"
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Method:
&lt;/h2&gt;

&lt;p&gt;A method in Java is a block of code that performs a specific task. It is used to define behavior or functionality that can be reused.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;String buy()
{
System.out.println("buy method");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object:
&lt;/h2&gt;

&lt;p&gt;In Java, an object is an instance of a class. It represents a real-world entity with state (data) and behavior (methods).&lt;/p&gt;

&lt;p&gt;## Key concepts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Class: A blueprint or template.&lt;/li&gt;
&lt;li&gt;Object: A real thing created from the blueprint.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  syntax for object:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Home Person = new Home();

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Home - Home is the name of the class.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Person - Person  is the name of the variable.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;new Home - new Home is the keyword used to create new object from the class.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Void:
&lt;/h2&gt;

&lt;p&gt;This method does not return anything.&lt;/p&gt;

&lt;p&gt;It is used when a method performs an action, but doesn’t give back a result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Variables:
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Local Variables:
&lt;/h2&gt;

&lt;p&gt;Local variable declared in side the function or block.&lt;/p&gt;

&lt;h2&gt;
  
  
  Global variables:
&lt;/h2&gt;

&lt;p&gt;Global variable declared outside the function.&lt;/p&gt;

</description>
      <category>java</category>
      <category>programming</category>
    </item>
    <item>
      <title>Today I Learned in Java -Data types and variables..</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Mon, 14 Jul 2025 08:54:14 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/today-i-learned-in-java-data-types-and-variables-1g7i</link>
      <guid>https://dev.to/paviarunachalam/today-i-learned-in-java-data-types-and-variables-1g7i</guid>
      <description>&lt;h2&gt;
  
  
  Data Types:
&lt;/h2&gt;

&lt;p&gt;In java there are two types of data types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Primitive data type.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Non-Primitive data type.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Primitive data type:
&lt;/h2&gt;

&lt;p&gt;Primitive data types are the basic building blocks that store simple values directly in memory.Primitive data types are fixed.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;boolean&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;char&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;byte&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;int&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;short&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;long&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;float&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;double&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Boolean:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stores true or false values&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  char:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;char  Stores a single character/letter or ASCII values&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  byte:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Stores whole numbers from -128 to 127&lt;/p&gt;
&lt;h2&gt;
  
  
  int:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt; Stores whole numbers from -2,147,483,648 to 2,147,483,647
## short:&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Stores whole numbers from -32,768 to 32,767 &lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  long:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stores whole numbers from -32,768 to 32,767&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  float:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;float temperature = 36.6f;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This stores a decimal number representing body temperature.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  double:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stores fractional numbers. Sufficient for storing 15 to 16 decimal digits&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Non-Primitive data type:
&lt;/h2&gt;

&lt;p&gt;Non primitive data types are non fixed  They are ,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;string&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;object&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;array&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Variables:
&lt;/h2&gt;

&lt;p&gt;Data types are used in variable,there are two types are variables they are,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Local variable&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Global variable&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Object oriented Programming in java..</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Fri, 11 Jul 2025 09:34:06 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/object-oriented-programming-in-java-1n01</link>
      <guid>https://dev.to/paviarunachalam/object-oriented-programming-in-java-1n01</guid>
      <description>&lt;p&gt;Introduction to OOPs in Java:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;OOPs stands for Object-Oriented Programming System. It is a programming approach based on the concept of "objects", which contain data (variables) and methods (functions).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Java is an object-oriented programming language, meaning it follows the OOPs concepts to organize and design software.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Java oops concepts:&lt;/p&gt;

&lt;p&gt;Class:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
In Java, a class is a blueprint or template used to create objects. It defines the state (fields/attributes) and behavior (methods) that the created objects will have.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;object:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
An object is created from a class and holds its own copies of the class’s variables and can call the class’s methods.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Encapsulation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
Encapsulation is one of the four fundamental OOP principles in Java . It means wrapping data (variables) and code (methods) together as a single unit — and restricting direct access to some of an object’s components.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Polymorphism:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
 Polymorphism means "many forms." It allows objects to be treated as instances of their parent class, even if they behave differently. It’s a core concept in Object-Oriented Programming, enabling flexibility and reusability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Inheritance:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Inheritance is a core concept in Object-Oriented Programming that allows one class to inherit the properties and behaviors (fields and methods) of another class.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It promotes code reuse, hierarchical classification, and extensibility.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Abstraction:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Abstraction is an OOP concept that focuses on hiding internal implementation details and only showing the essential features of an object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Think of it like driving a car: You use the steering wheel and pedals without knowing how the engine or transmission actually works.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>java</category>
      <category>oops</category>
      <category>backenddevelopment</category>
    </item>
    <item>
      <title>Introduction to java..</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Thu, 10 Jul 2025 13:03:01 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/introduction-to-java-eg9</link>
      <guid>https://dev.to/paviarunachalam/introduction-to-java-eg9</guid>
      <description>&lt;p&gt;what is java?&lt;/p&gt;

&lt;p&gt;Java is a high-level, object-oriented programming language used to build web apps, mobile applications, and enterprise software systems. It is known for its Write Once, Run Anywhere capability, which means code written in Java can run on any device that supports the Java Virtual Machine (JVM).&lt;/p&gt;

&lt;p&gt;Features of java:&lt;/p&gt;

&lt;p&gt;1.Platform independence:&lt;br&gt;
     java's bytecode can be executed on any platform with the application JVM.&lt;/p&gt;

&lt;p&gt;2.Object oriented:&lt;br&gt;
        Everything is treated as an object (real-world style).Helps organize and reuse code.&lt;/p&gt;

&lt;p&gt;3.Simple:&lt;br&gt;
     Java's syntax is inspired by c++ and c.&lt;br&gt;
4.Robust and secure:&lt;br&gt;
     Java has feature like memory management,strong type checking,and exception handling to ensure to bust ans secure programs&lt;/p&gt;

&lt;p&gt;5.Multithreading:&lt;br&gt;
      Can do many tasks at once (like downloading and playing music together).Uses threads easily.&lt;br&gt;
6.Dynamic:&lt;br&gt;
      Java supports dynamic memory allocation and garbage collection,simplifying memory management.&lt;/p&gt;

&lt;p&gt;7.High performance:&lt;br&gt;
       Fast enough with Just-In-Time (JIT) compiler Slower than C++, but optimized for many tasks.&lt;/p&gt;

&lt;h3&gt;
  
  
  Java Architecture
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Java Source Code&lt;/strong&gt;&lt;br&gt;
You write your Java program in plain text files with &lt;code&gt;.java&lt;/code&gt; extension.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Java Compiler&lt;/strong&gt;&lt;br&gt;
The Java compiler (&lt;code&gt;javac&lt;/code&gt;) converts your &lt;code&gt;.java&lt;/code&gt; files into &lt;strong&gt;bytecode&lt;/strong&gt; (&lt;code&gt;.class&lt;/code&gt; files).&lt;br&gt;
Bytecode is a kind of machine language, but it’s &lt;strong&gt;not for any specific computer&lt;/strong&gt; — it’s for the Java Virtual Machine (JVM).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Java Virtual Machine (JVM)&lt;/strong&gt;&lt;br&gt;
The JVM reads and runs the bytecode.&lt;br&gt;
It acts like a translator between the bytecode and your computer’s actual hardware.&lt;br&gt;
This is why Java programs can run on any device that has a JVM — this is called &lt;strong&gt;"Write Once, Run Anywhere"&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Java Runtime Environment (JRE)&lt;/strong&gt;&lt;br&gt;
The JRE includes the JVM plus some libraries and tools to run Java programs.&lt;br&gt;
If you only want to run Java programs (not write or compile), you need the JRE.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Java Development Kit (JDK)&lt;/strong&gt;&lt;br&gt;
The JDK includes the JRE plus tools to write and compile Java code (like the compiler and debugger).&lt;br&gt;
Developers use the JDK to create Java programs.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




</description>
    </item>
    <item>
      <title>Today learned about promise in javascript.</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Mon, 30 Jun 2025 17:44:52 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/today-learned-about-promise-in-javascript-3lib</link>
      <guid>https://dev.to/paviarunachalam/today-learned-about-promise-in-javascript-3lib</guid>
      <description>&lt;p&gt;what is promise in javascript?&lt;/p&gt;

&lt;p&gt;In JavaScript, a Promise is an object representing the eventual completion or failure of an asynchronous operation and its resulting value. It provides a structured way to handle asynchronous code, making it more manageable and readable than traditional callback-based approaches.&lt;/p&gt;

&lt;h3&gt;
  
  
  Basic Syntax:
&lt;/h3&gt;

&lt;p&gt;const login =new promise((resolve,reject)=&amp;gt;{&lt;br&gt;
   let pass=true;&lt;br&gt;
if(pass)&lt;br&gt;
{&lt;br&gt;
resolve();&lt;br&gt;
}&lt;br&gt;
else{&lt;br&gt;
reject();&lt;br&gt;
}&lt;br&gt;
})&lt;/p&gt;

&lt;h3&gt;
  
  
  States of a Promise:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pending&lt;/strong&gt; – Initial state, neither fulfilled nor rejected.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fulfilled&lt;/strong&gt; – The operation completed successfully.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rejected&lt;/strong&gt; – The operation failed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Creating a Promise:&lt;/p&gt;

&lt;p&gt;A new Promise is created using the Promise constructor. This executor function receives two arguments: resolve andreject.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;resolve(value) — called when the operation succeeds

reject(error) — called when it fails
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Once you call either resolve or reject, the promise becomes settled (fulfilled or rejected) and cannot change.&lt;/p&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;script&amp;gt;


     function login(){
        return new Promise((resolve,reject)=&amp;gt;{
        let password = true;
        if(password){
            resolve();
        }else{
            reject();
        }
    })
    }

    login()
    .then(()=&amp;gt; console.log("successfully login..."))
    .catch(()=&amp;gt;  console.log("invalid password..."))


&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>promise</category>
    </item>
    <item>
      <title>A day of code,fun and learning at the JVM meetup in chennai.</title>
      <dc:creator>Pavithraarunachalam</dc:creator>
      <pubDate>Sun, 29 Jun 2025 17:57:26 +0000</pubDate>
      <link>https://dev.to/paviarunachalam/a-day-of-codefun-and-learning-at-the-jvm-meetup-in-chennai-56no</link>
      <guid>https://dev.to/paviarunachalam/a-day-of-codefun-and-learning-at-the-jvm-meetup-in-chennai-56no</guid>
      <description>

&lt;p&gt;Yesterday, my friends and I attended the JVM meetup in Chennai. The event was organized by the JVM team, and they conducted various fun and educational activities related to Java.&lt;/p&gt;

&lt;p&gt;As part of the activities, we were divided into teams of five. Each team was given 5 minutes to choose a team name and select a team leader. We named our team "5 Star".&lt;/p&gt;

&lt;p&gt;After that, a Java debugging challenge was displayed on the screen. Each team was given 45 seconds to answer the question. If the time was up and the team couldn't answer, the question would be passed to the next team.&lt;/p&gt;

&lt;p&gt;Since we are all freshers, we knew only a little bit of the answers, but we participated with enthusiasm and learned a lot.&lt;/p&gt;

&lt;p&gt;Once the session ended, we had a short relaxation break, where we were given two Jim Jam biscuit baskets and juice.&lt;/p&gt;

&lt;p&gt;Then, the presentation session started. During the session, the speakers explained the concepts of JAMStack and Spring AI.&lt;/p&gt;

&lt;p&gt;JAM Stack:&lt;/p&gt;

&lt;p&gt;JAMstack is a modern way to build websites. It stands for:&lt;/p&gt;

&lt;p&gt;J – JavaScript (used to make the website interactive)&lt;/p&gt;

&lt;p&gt;A – APIs (used to get data from a server or other services)&lt;/p&gt;

&lt;p&gt;M – Markup (HTML pages that are shown to users)&lt;/p&gt;

&lt;p&gt;Instead of using a traditional server, JAMstack sites are fast because they are mostly pre-built and served from a Content Delivery Network (CDN).&lt;/p&gt;

&lt;p&gt;INTRODUCTION OT SPRING AI:&lt;/p&gt;

&lt;p&gt;Spring AI is a project by the Spring team that simplifies integrating Artificial Intelligence (AI) and Large Language Models (LLMs) like OpenAI, Hugging Face, Ollama, or local models into Spring Boot applications.&lt;/p&gt;

&lt;p&gt;What Is Spring AI?&lt;/p&gt;

&lt;p&gt;Spring AI provides tools and pre-built integrations to:&lt;/p&gt;

&lt;p&gt;Connect to AI models (like GPT, LLaMA, Claude, etc.)&lt;/p&gt;

&lt;p&gt;Use AI features (text generation, embeddings, image generation)&lt;/p&gt;

&lt;p&gt;Make it easy to build intelligent Java applications.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>java</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
