<?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: nantha kumar</title>
    <description>The latest articles on DEV Community by nantha kumar (@nantha_kumar_69455dc77cdd).</description>
    <link>https://dev.to/nantha_kumar_69455dc77cdd</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%2F3716797%2F4c7e439c-52a4-4598-8cdb-455c90d067b2.png</url>
      <title>DEV Community: nantha kumar</title>
      <link>https://dev.to/nantha_kumar_69455dc77cdd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nantha_kumar_69455dc77cdd"/>
    <language>en</language>
    <item>
      <title>JDK</title>
      <dc:creator>nantha kumar</dc:creator>
      <pubDate>Wed, 21 Jan 2026 13:12:04 +0000</pubDate>
      <link>https://dev.to/nantha_kumar_69455dc77cdd/jdk-b8a</link>
      <guid>https://dev.to/nantha_kumar_69455dc77cdd/jdk-b8a</guid>
      <description></description>
    </item>
    <item>
      <title>Module 2</title>
      <dc:creator>nantha kumar</dc:creator>
      <pubDate>Mon, 19 Jan 2026 02:52:37 +0000</pubDate>
      <link>https://dev.to/nantha_kumar_69455dc77cdd/module-2-2286</link>
      <guid>https://dev.to/nantha_kumar_69455dc77cdd/module-2-2286</guid>
      <description>&lt;p&gt;&lt;strong&gt;Control flow statement :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Control flow statement decide which statement is execute, how many times it runs, which order it runs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Types of control flow statement :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Decision making statement&lt;/li&gt;
&lt;li&gt;Looping statement&lt;/li&gt;
&lt;li&gt;Jumping statement&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Decision making statement :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Decision making statement take decision based on the condition.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;If statement :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;if is a java keyword.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Execute code only if condition is true.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Else statement :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;else is a java keyword.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Execute code only when if condition is false.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Else-if statement :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;else if is a java keyword.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If we want check multiple condition , we go for else-if statement.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Switch case :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Switch-case is used when you want to execute different code based on one value.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Switch case allowed these primitive data type such as byte, short, int, char in expression. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If no case matches, the default block will execute.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Switch case syntax :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;switch (expression) {
    case value1:
        // code
        break;
    case value2:
        // code
        break;
    default:
        // code
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Example code 1 :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int day = 3;

switch (day) {
    case 1:
        System.out.println("Monday");
        break;
    case 2:
        System.out.println("Tuesday");
        break;
    case 3:
        System.out.println("Wednesday");
        break;
    default:
        System.out.println("Invalid day");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Example code 2 :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;char grade = 'A';

switch (grade) {
    case 'A':
    case 'B':
    case 'C':
        System.out.println("Passed");
        break;
    case 'D':
        System.out.println("Failed");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;After java 8 features :&lt;/strong&gt; &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Switch case allowed String data type in expression after java 8th version.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;After java 12+ version :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If we use arrow symbol in switch case, don't need to mention break keyword.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Example code 1 :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;char grade = 'A';

switch (grade) {
    case 'A', 'B', 'C' -&amp;gt; System.out.println("Passed");
    case 'D' -&amp;gt; System.out.println("Failed");
}

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Example code 2 :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int day =1;
        int result = switch (day) {
        case 1 -&amp;gt; 10;
        case 2 -&amp;gt; 20;
        default -&amp;gt; 0;
    };
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Example code 3 :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int day = 1;
int result = switch (day) {
    case 1 -&amp;gt; 10;
    case 2 -&amp;gt; 20;
    default -&amp;gt; 0;
};

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

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Abstraction</title>
      <dc:creator>nantha kumar</dc:creator>
      <pubDate>Mon, 19 Jan 2026 01:22:07 +0000</pubDate>
      <link>https://dev.to/nantha_kumar_69455dc77cdd/abstraction-32l8</link>
      <guid>https://dev.to/nantha_kumar_69455dc77cdd/abstraction-32l8</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is abstraction :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Abstraction means hiding implementation details and showing only essential features to the user.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;How to achieve abstraction :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Using abstract keyword&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Where you used abstract keyword :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;We can use abstract keyword in class level and method level.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Can an abstract class have:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Constructors? ✅&lt;br&gt;
Private methods? ✅&lt;br&gt;
Static methods? ✅&lt;br&gt;
Final methods? ✅&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Answer :&lt;/strong&gt; Yes&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Notes :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;abstract class does not have method definition.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can't create object directly.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Can we create an object of an abstract class?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Answer: ❌ No
But reference can be created
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;BankService service = new UPIService();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Can an abstract class have instance variable ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Answer :&lt;/strong&gt; Yes&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Interface</title>
      <dc:creator>nantha kumar</dc:creator>
      <pubDate>Sat, 17 Jan 2026 17:14:37 +0000</pubDate>
      <link>https://dev.to/nantha_kumar_69455dc77cdd/interface-51bh</link>
      <guid>https://dev.to/nantha_kumar_69455dc77cdd/interface-51bh</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is interface :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An interface is a set of rules.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Simple Definition :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An interface tells a class what to do, not how to do it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Why used interface :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;It is used to achieve 100% abstraction and multiple inheritance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To define common behavior across different classes&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Notes :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;An interface contains only abstract method.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All methods are public and abstract by default in interface. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All variables are public static final in interface.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can't create object for interface.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can't create constructor in interface.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;After java 8th version :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Default Methods :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;We can create method with body in interface using default keyword.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Static Methods :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;We can create static method using static keyword in interface.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can call the static method using interface name.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can't override the static method.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Multiple Inheritance Problem Solved :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;interface A {
    default void show() {
        System.out.println("A");
    }
}

interface B {
    default void show() {
        System.out.println("B");
    }
}

class Test implements A, B {
    @Override
    public void show() {
        A.super.show();   // calls A's default method
        // B.super.show(); // you can call this also if needed
    }

    public static void main(String[] args) {
        Test t = new Test();
        t.show();
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Private Methods (Java 9+) :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;private method used to reuse code inside interface.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can't accessed by implementing classes.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Inheritance</title>
      <dc:creator>nantha kumar</dc:creator>
      <pubDate>Sat, 17 Jan 2026 16:36:36 +0000</pubDate>
      <link>https://dev.to/nantha_kumar_69455dc77cdd/inheritance-266l</link>
      <guid>https://dev.to/nantha_kumar_69455dc77cdd/inheritance-266l</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Inheritance :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Child object behaving as a parent object.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;How to Achive Inheritance :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To achive inheritance, we should use &lt;strong&gt;extends&lt;/strong&gt; keyword.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Types of inheritance :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Single Inheritance&lt;/li&gt;
&lt;li&gt;Multilevel Inheritance&lt;/li&gt;
&lt;li&gt;Hierarchical Inheritance&lt;/li&gt;
&lt;li&gt;Hybrid Inheritance&lt;/li&gt;
&lt;li&gt;Multiple Inheritance&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;One child class inherits from one parent class.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;A class inherits from another class, and then another class inherits from that class.
Example : Grandparent → Parent → Child&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Multiple child classes inherit from a single parent class.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Combination of two or more types of inheritance.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;if we use multiple inheritance, ambiquity problem will occure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;So Java does not support multiple inheritance. but it supports it via interfaces.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Encapsulation</title>
      <dc:creator>nantha kumar</dc:creator>
      <pubDate>Sat, 17 Jan 2026 16:24:39 +0000</pubDate>
      <link>https://dev.to/nantha_kumar_69455dc77cdd/encapsulation-7ll</link>
      <guid>https://dev.to/nantha_kumar_69455dc77cdd/encapsulation-7ll</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is encapsulation :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Encapsulation is data protection.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Why used encapsulation :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Encapsulation provides data security, better control.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Benefits of Encapsulation :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Data Hiding → Sensitive data is not directly accessible.&lt;/li&gt;
&lt;li&gt;Control over Data → You can validate values before setting them.&lt;/li&gt;
&lt;li&gt;Improves Security → External code can’t directly change internal variables.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;How to protect the data :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Using access modifier.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;What is access modifier :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An access modifier in Java defines who can access a class, variable, method, or constructor.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Real time example :&lt;/strong&gt;&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%2F6trtqfho6qz1lcj4hojo.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%2F6trtqfho6qz1lcj4hojo.png" alt=" " width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Access Modifier&lt;/th&gt;
&lt;th&gt;Within Class&lt;/th&gt;
&lt;th&gt;Same Package&lt;/th&gt;
&lt;th&gt;Subclass (other package)&lt;/th&gt;
&lt;th&gt;Outside Package&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;private&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;default&lt;/strong&gt; &lt;em&gt;(no keyword)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;protected&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;public&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Polymorphism</title>
      <dc:creator>nantha kumar</dc:creator>
      <pubDate>Sat, 17 Jan 2026 16:08:55 +0000</pubDate>
      <link>https://dev.to/nantha_kumar_69455dc77cdd/polymorphism-3567</link>
      <guid>https://dev.to/nantha_kumar_69455dc77cdd/polymorphism-3567</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is polymorphism ?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It means the same method name can behave differently based on the object that is calling polymorphism.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Types of Polymorphism ?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Compile-Time Polymorphism (Method Overloading)&lt;/li&gt;
&lt;li&gt;Runtime Polymorphism (Method Overriding)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Method overloading :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Method overloading is same method name and different type of arguments or different number of arguments in same class.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Method overriding :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Method overriding is same method signature(method name &amp;amp; arguments) in different class.&lt;/li&gt;
&lt;/ol&gt;

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