<?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: arun Kumar</title>
    <description>The latest articles on DEV Community by arun Kumar (@arun_kumar_a400c4a77f4b6a).</description>
    <link>https://dev.to/arun_kumar_a400c4a77f4b6a</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%2F3845703%2F9512c537-bb3b-4712-87df-ff18f2102198.png</url>
      <title>DEV Community: arun Kumar</title>
      <link>https://dev.to/arun_kumar_a400c4a77f4b6a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arun_kumar_a400c4a77f4b6a"/>
    <language>en</language>
    <item>
      <title>Understanding Method Overloading in Java</title>
      <dc:creator>arun Kumar</dc:creator>
      <pubDate>Tue, 02 Jun 2026 07:06:38 +0000</pubDate>
      <link>https://dev.to/arun_kumar_a400c4a77f4b6a/understanding-method-overloading-in-java-1j6d</link>
      <guid>https://dev.to/arun_kumar_a400c4a77f4b6a/understanding-method-overloading-in-java-1j6d</guid>
      <description>&lt;p&gt;Java is one of the most popular object-oriented programming languages, and one of its powerful features is Method Overloading. Method overloading allows developers to create multiple methods with the same name within the same class, as long as their parameter lists are different. This feature improves code readability, reusability, and flexibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Method Overloading?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Method overloading is a concept in Java where two or more methods share the same name but differ in the number, type, or order of parameters. The Java compiler determines which method to execute based on the arguments passed during the method call. Because this decision is made during compilation, method overloading is also known as Compile-Time Polymorphism.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Use Method Overloading?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Method overloading helps developers write cleaner and more intuitive code. Instead of creating separate method names for similar operations, a single method name can be used for different types of inputs. This reduces complexity and makes programs easier to understand and maintain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Benefits of Method Overloading&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Improves code readability.&lt;/li&gt;
&lt;li&gt;Increases code reusability.&lt;/li&gt;
&lt;li&gt;Reduces the need for multiple method names.&lt;/li&gt;
&lt;li&gt;Supports compile-time polymorphism.&lt;/li&gt;
&lt;li&gt;Makes programs easier to maintain.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example of Method Overloading&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;class Calculator {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void add(int a, int b) {
    System.out.println("Sum: " + (a + b));
}

void add(int a, int b, int c) {
    System.out.println("Sum: " + (a + b + c));
}

void add(double a, double b) {
    System.out.println("Sum: " + (a + b));
}

public static void main(String[] args) {
    Calculator obj = new Calculator();

    obj.add(10, 20);
    obj.add(10, 20, 30);
    obj.add(10.5, 20.5);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;Output&lt;br&gt;
Sum: 30&lt;br&gt;
Sum: 60&lt;br&gt;
Sum: 31.0&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Method Overloading&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Changing the Number of Parameters&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A method can be overloaded by changing the number of parameters.&lt;/p&gt;

&lt;p&gt;void display(int a) { }&lt;br&gt;
void display(int a, int b) { }&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Changing the Data Type of Parameters&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A method can also be overloaded by changing the data type of parameters.&lt;/p&gt;

&lt;p&gt;void display(int a) { }&lt;br&gt;
void display(double a) { }&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rules of Method Overloading&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Methods must have the same name.&lt;/li&gt;
&lt;li&gt;Methods must have different parameter lists.&lt;/li&gt;
&lt;li&gt;Return type alone cannot differentiate overloaded methods.&lt;/li&gt;
&lt;li&gt;Overloading can occur in the same class.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Python Basics: Addition, Multiplication, and Factorial of First n Numbers</title>
      <dc:creator>arun Kumar</dc:creator>
      <pubDate>Tue, 26 May 2026 14:59:54 +0000</pubDate>
      <link>https://dev.to/arun_kumar_a400c4a77f4b6a/python-basics-addition-multiplication-and-factorial-of-first-n-numbers-3jd7</link>
      <guid>https://dev.to/arun_kumar_a400c4a77f4b6a/python-basics-addition-multiplication-and-factorial-of-first-n-numbers-3jd7</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Addition of First n Numbers&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The addition of the first n numbers program is used to calculate the total sum of numbers from 1 to n. This program helps beginners understand how loops and variables work in Python. Using a while loop, the program repeatedly adds numbers until the condition becomes false. For example, if n = 5, the result will be 15.&lt;/p&gt;

&lt;p&gt;n = 5&lt;br&gt;
i = 1&lt;br&gt;
total = 0&lt;br&gt;
while i &amp;lt;= n:&lt;br&gt;
    total = total + i&lt;br&gt;
    i = i + 1&lt;br&gt;
print("Sum =", total)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Multiplication of First n Numbers&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The multiplication of the first n numbers program multiplies all numbers from 1 to n. It teaches students how repeated multiplication works using loops. The result for n = 4 will be 24 because 1 × 2 × 3 × 4 = 24. In this program, the initial value starts from 1.&lt;/p&gt;

&lt;p&gt;n = 4&lt;br&gt;
i = 1&lt;br&gt;
product = 1&lt;/p&gt;

&lt;p&gt;while i &amp;lt;= n:&lt;br&gt;
    product = product * i&lt;br&gt;
    i = i + 1&lt;/p&gt;

&lt;p&gt;print("Product =", product)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Factorial of a Number&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The factorial of a number means multiplying all positive integers from 1 up to that number. It is represented using !. For example, 5! = 120. Factorial programs are important in mathematics and computer science. A while loop can be used to calculate factorial easily in Python.&lt;/p&gt;

&lt;p&gt;n = 5&lt;br&gt;
i = 1&lt;br&gt;
fact = 1&lt;/p&gt;

&lt;p&gt;while i &amp;lt;= n:&lt;br&gt;
    fact = fact * i&lt;br&gt;
    i = i + 1&lt;/p&gt;

&lt;p&gt;print("Factorial =", fact)&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Understanding React, SPA &amp; MPA</title>
      <dc:creator>arun Kumar</dc:creator>
      <pubDate>Fri, 17 Apr 2026 05:32:31 +0000</pubDate>
      <link>https://dev.to/arun_kumar_a400c4a77f4b6a/understanding-react-spa-mpa-5d3m</link>
      <guid>https://dev.to/arun_kumar_a400c4a77f4b6a/understanding-react-spa-mpa-5d3m</guid>
      <description>&lt;p&gt;What is React?&lt;/p&gt;

&lt;p&gt;React is a popular JavaScript library used to build user interfaces, especially for modern web applications. It allows developers to create reusable components, making code more organized and efficient.&lt;/p&gt;

&lt;p&gt;🔹 Why Use React?&lt;/p&gt;

&lt;p&gt;React is widely used because it simplifies the development process and improves performance.&lt;/p&gt;

&lt;p&gt;Key Benefits:&lt;br&gt;
Reusable components&lt;br&gt;
Faster updates with Virtual DOM&lt;br&gt;
Easy to learn and use&lt;br&gt;
Strong community support&lt;br&gt;
Smooth and interactive user experience&lt;/p&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.amazonaws.com%2Fuploads%2Farticles%2Ffl8y3tf7eur2srtdedvc.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Ffl8y3tf7eur2srtdedvc.jpg" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔹 What is SPA (Single Page Application)?&lt;/p&gt;

&lt;p&gt;A Single Page Application (SPA) loads only one HTML page and dynamically updates content without refreshing the entire page.&lt;/p&gt;

&lt;p&gt;Examples:&lt;br&gt;
Gmail&lt;br&gt;
Instagram&lt;br&gt;
Advantages:&lt;br&gt;
Faster navigation&lt;br&gt;
Better user experience&lt;br&gt;
No full page reload&lt;/p&gt;

&lt;p&gt;🔹 What is MPA (Multi Page Application)?&lt;/p&gt;

&lt;p&gt;A Multi Page Application (MPA) loads a new page from the server every time the user navigates.&lt;/p&gt;

&lt;p&gt;Examples:&lt;br&gt;
Amazon&lt;br&gt;
Flipkart&lt;br&gt;
Advantages:&lt;br&gt;
Good for large websites&lt;br&gt;
Clear structure with multiple pages&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>react</category>
      <category>webdev</category>
    </item>
    <item>
      <title>My First Calculator Project with HTML, CSS &amp; JavaScript</title>
      <dc:creator>arun Kumar</dc:creator>
      <pubDate>Sat, 04 Apr 2026 12:30:50 +0000</pubDate>
      <link>https://dev.to/arun_kumar_a400c4a77f4b6a/my-first-calculator-project-with-html-css-javascript-hb7</link>
      <guid>https://dev.to/arun_kumar_a400c4a77f4b6a/my-first-calculator-project-with-html-css-javascript-hb7</guid>
      <description>&lt;h1&gt;
  
  
  Building My First Calculator using HTML, CSS &amp;amp; JavaScript
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In this project, I built a simple calculator using HTML, CSS, and JavaScript. It was a great experience because I got to see how a small web application is created from scratch. If you are learning front-end like me, this project is really helpful and fun to build.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;While building this calculator, I understood how HTML is used to create the structure of a page. I used buttons and an input box to design the calculator layout. It gave me a clear idea of how user interfaces are built.&lt;/p&gt;

&lt;p&gt;Using CSS, I made the calculator look clean and simple. I centered it on the screen, added colors, spacing, and some button effects. This helped me understand how design improves the user experience.&lt;/p&gt;

&lt;p&gt;JavaScript made everything work. I learned how to handle button clicks, update the display, and perform calculations. Using functions like adding values, clearing, and deleting made the project more interactive.&lt;/p&gt;




&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;p&gt;My calculator can do basic operations like addition, subtraction, multiplication, and division. It also has clear and delete options, supports decimal numbers, and responds when buttons are clicked.&lt;/p&gt;




&lt;h2&gt;
  
  
  Challenges
&lt;/h2&gt;

&lt;p&gt;I faced some small challenges like handling inputs properly and understanding how the calculation works. But solving them helped me learn better and improve my coding skills.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This project helped me understand how HTML, CSS, and JavaScript work together. It also gave me confidence to build more projects in the future.&lt;/p&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.amazonaws.com%2Fuploads%2Farticles%2F1h34rg0pp0kvmzqhr8jm.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.amazonaws.com%2Fuploads%2Farticles%2F1h34rg0pp0kvmzqhr8jm.png" alt=" " width="800" height="450"&gt;&lt;/a&gt; Final Thoughts&lt;/p&gt;

&lt;p&gt;Building this calculator was simple but very useful for learning. If you are a beginner, I suggest you try this project—it will really help you improve.&lt;/p&gt;




</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>showdev</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
