<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mathankumar]]></title><description><![CDATA[Software Developer]]></description><link>https://mathankumar.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Sep 2026 05:03:25 GMT</lastBuildDate><atom:link href="https://mathankumar.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Overloading vs Overriding]]></title><description><![CDATA[Overload - The Power of Versatility

We can use the same method name, but the method parameter should differ by the number of parameters or type of parameter

Okay! What is the use of that right?
Using the same method name for a similar kind of opera...]]></description><link>https://mathankumar.hashnode.dev/overloading-vs-overriding</link><guid isPermaLink="true">https://mathankumar.hashnode.dev/overloading-vs-overriding</guid><category><![CDATA[java beginner]]></category><category><![CDATA[Java]]></category><category><![CDATA[OOPS]]></category><dc:creator><![CDATA[Mathankumar]]></dc:creator><pubDate>Wed, 06 Sep 2023 15:10:14 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/_YQnD9xZ6QI/upload/9c8462ffc91816b2c527a9a84ed9348c.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-overload-the-power-of-versatility">Overload <strong>- The Power of Versatility</strong></h1>
<blockquote>
<p>We can use the same method name, but the method parameter should differ by the number of parameters or type of parameter</p>
</blockquote>
<p><em>Okay! What is the use of that right?</em></p>
<p>Using the same method name for a similar kind of operation makes it easy to understand the code as well as utilize the OOPS. So the same method performs different tasks based on the parameter.</p>
<p>Consider a scenario where you need to add two numbers, here The numbers sometimes comes as <strong>integer</strong> other time <strong>double</strong>. How you can utilize the Overload concept here,</p>
<pre><code class="lang-java"><span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Calculator</span> </span>{
    <span class="hljs-comment">// method name add, parameter is integer</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">int</span> <span class="hljs-title">add</span><span class="hljs-params">(<span class="hljs-keyword">int</span> a, <span class="hljs-keyword">int</span> b)</span> </span>{
        <span class="hljs-keyword">return</span> a + b;
    }
   <span class="hljs-comment">// // method name add, parameter is double</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">double</span> <span class="hljs-title">add</span><span class="hljs-params">(<span class="hljs-keyword">double</span> a, <span class="hljs-keyword">double</span> b)</span> </span>{
        <span class="hljs-keyword">return</span> a + b;
    }
}
</code></pre>
<h1 id="heading-override-the-art-of-refinement"><strong>Override - The Art of Refinement</strong></h1>
<blockquote>
<p>An override allows the subclass to give a different implementation for the same method available in the parent class.</p>
</blockquote>
<p>In the programming world, it is very common that you will end up in situation where you need to customize the output without disturbing the parent functionality.</p>
<p>So the best fit is to go for an override, Look at the below example of how the draw method gives different implementations,</p>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Shape</span> </span>{
    <span class="hljs-comment">// Other common props</span>
    <span class="hljs-comment">//.</span>
    <span class="hljs-comment">//.</span>
    <span class="hljs-comment">// common draw method for shape</span>
    <span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">draw</span><span class="hljs-params">()</span> </span>{
        System.out.println(<span class="hljs-string">"Drawing a shape"</span>);
    }
}

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Circle</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">Shape</span> </span>{
    <span class="hljs-comment">// sub class overrides and gives specific implementaion</span>
    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">draw</span><span class="hljs-params">()</span> </span>{
        System.out.println(<span class="hljs-string">"Drawing a circle"</span>);
    }
}
</code></pre>
<h1 id="heading-conclusion">Conclusion:</h1>
<p>Indeed both overload and override important concepts in the OOPS world. Overload allows you to create methods with the same name but different parameters, while Override enables you to customize inherited methods in subclasses. By combining these concepts, both helps to create a powerful and elegant software solution.</p>
<hr />
<p><strong><mark>"Your likes are a simple click but mean the world to me. Thank you for your support!"</mark></strong></p>
]]></content:encoded></item><item><title><![CDATA[Lessons from my experience as a Developer.]]></title><description><![CDATA[ABOUT ME
I was graduated in the year 2016, during my final year after a lot of struggle failed in many companies finally cleared one product-based company.
Then I got my offer letter and the company asked me to join on June 1, 2016. Yes, exactly 5 ye...]]></description><link>https://mathankumar.hashnode.dev/lessons-from-my-experience-as-a-developer</link><guid isPermaLink="true">https://mathankumar.hashnode.dev/lessons-from-my-experience-as-a-developer</guid><category><![CDATA[Programming Tips]]></category><category><![CDATA[programmer]]></category><category><![CDATA[newbie]]></category><dc:creator><![CDATA[Mathankumar]]></dc:creator><pubDate>Tue, 01 Jun 2021 03:13:46 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1622516836615/IHOcEKL52.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="about-me">ABOUT ME</h1>
<p>I was graduated in the year 2016, during my final year after a lot of struggle failed in many companies finally cleared one product-based company.
Then I got my offer letter and the company asked me to join on June 1, 2016. Yes, exactly 5 years ago from this date(June 1, 2021).</p>
<h1 id="lessons-from-my-experience">Lessons from my Experience</h1>
<ul>
<li><p>Hard work beats smart work.</p>
</li>
<li><p>Hard work leads to smart work.</p>
</li>
<li><p>Master the tech stack which is used in your company.</p>
</li>
<li><p>First impression is the best impression make it good.</p>
</li>
<li><p>Be responsible in your work.</p>
</li>
<li><p>Master how to do a google search, this will save your life.</p>
</li>
<li><p>Ask for help, when you are stuck.</p>
</li>
<li><p>Try to help your colleagues, definitely you learn a lot from that.</p>
</li>
<li><p>Some tasks are hard, push yourself to accomplish that.</p>
</li>
<li><p>Learn from your mistake/experience.</p>
</li>
<li><p>Never be in the comfort zone.</p>
</li>
<li><p>Love your work, contribute to the community.</p>
</li>
<li><p>Learn, Relearn and upgrade this is an endless journey.</p>
</li>
<li><p>Master any one Programming language.</p>
</li>
<li><p>Learn to communicate well.</p>
</li>
<li><p>Build your portfolio &amp; make a lot of connections.</p>
</li>
<li><p>Set short-term and long-term goals and work on them.</p>
</li>
<li><p>Track your progress.</p>
</li>
<li><p>Enjoy your vacation.</p>
</li>
<li><p>Take care of your health.</p>
</li>
</ul>
<p>That's all that comes to mind right now, I hope these points are valuable to you.
Thanks for reading. Happy coding!</p>
]]></content:encoded></item><item><title><![CDATA[Top 12 Github Repositories To Increase your Technical Skills]]></title><description><![CDATA[Below is a list of my top Github repositories, I have stared. 

CS-Notes

Basic knowledge of technical interview, Leetcode, computer operating system, computer network, system design, Java, Python, C++


system-design-primer 

Learn how to design lar...]]></description><link>https://mathankumar.hashnode.dev/top-12-github-repositories-to-increase-your-technical-skills</link><guid isPermaLink="true">https://mathankumar.hashnode.dev/top-12-github-repositories-to-increase-your-technical-skills</guid><category><![CDATA[GitHub]]></category><category><![CDATA[interview]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[Java]]></category><category><![CDATA[repository]]></category><dc:creator><![CDATA[Mathankumar]]></dc:creator><pubDate>Wed, 14 Oct 2020 15:48:58 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1602690358511/bf8INk8Wg.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Below is a list of my top Github repositories, I have stared. </p>
<ol>
<li><p><a target="_blank" href="https://github.com/CyC2018/CS-Notes">CS-Notes</a></p>
<ul>
<li>Basic knowledge of technical interview, Leetcode, computer operating system, computer network, system design, Java, Python, C++</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/donnemartin/system-design-primer">system-design-primer</a> </p>
<ul>
<li>Learn how to design large-scale systems. Prep for the system design interview.</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/public-apis/public-apis">public-apis
</a> </p>
<ul>
<li>A collective list of free APIs for use in software and web development.</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/Snailclimb/JavaGuide">JavaGuide
</a> </p>
<ul>
<li>"Java Learning + Interview Guide" covers the core knowledge that most Java programmers need to master. To prepare for a Java interview, JavaGuide is your first choice!</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/30-seconds/30-seconds-of-code">30-seconds-of-code</a> </p>
<ul>
<li>Short JavaScript code snippets for all your development needs</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/doocs/advanced-java">advanced-java</a> </p>
<ul>
<li>Advanced knowledge for Java engineers, covering high concurrency, distributed, high availability, microservices, massive data processing and other fields knowledge, back-end students must see, front-end students can also learn.</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/h5bp/Front-end-Developer-Interview-Questions">Front-end-Developer-Interview-Questions</a> </p>
<ul>
<li>A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/yangshun/tech-interview-handbook">tech-interview-handbook</a> </p>
<ul>
<li>Materials to help you rock your next coding interview</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/tuvtran/project-based-learning">project-based-learning</a> </p>
<ul>
<li>Curated list of project-based tutorials</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/MaximAbramchuck/awesome-interview-questions">awesome-interview-questions</a> </p>
<ul>
<li>A curated awesome list of lists of interview questions.</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/florinpop17/app-ideas">app-ideas</a> </p>
<ul>
<li>A Collection of application ideas which can be used to improve your coding skills.</li>
</ul>
</li>
<li><p><a target="_blank" href="https://github.com/TheAlgorithms/Java">TheAlgorithms/Java</a> </p>
<ul>
<li>All Algorithms implemented in Java</li>
</ul>
</li>
</ol>
<p>I hope you find these repositories are helpful to you. Let's comment on your top repositories.</p>
<p>Of course, still, there are many  <a target="_blank" href="https://github.com/trending">explore </a> it here.</p>
]]></content:encoded></item></channel></rss>