<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ahmet Özçelik on Medium]]></title>
        <description><![CDATA[Stories by Ahmet Özçelik on Medium]]></description>
        <link>https://medium.com/@ozcelikahmett61?source=rss-05ee3fb56cda------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FfSiPVZmr8_m8JVDlxD-mw.jpeg</url>
            <title>Stories by Ahmet Özçelik on Medium</title>
            <link>https://medium.com/@ozcelikahmett61?source=rss-05ee3fb56cda------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 07:58:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ozcelikahmett61/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Can the main method be Overloaded?]]></title>
            <link>https://medium.com/@ozcelikahmett61/can-the-main-method-be-overloaded-36fca292552d?source=rss-05ee3fb56cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/36fca292552d</guid>
            <dc:creator><![CDATA[Ahmet Özçelik]]></dc:creator>
            <pubDate>Sat, 27 Apr 2024 15:18:10 GMT</pubDate>
            <atom:updated>2024-04-27T15:18:10.239Z</atom:updated>
            <content:encoded><![CDATA[<p>I’d like to share with you a question that I encountered for the first time while looking at Java interview questions in English.</p><p>Yes, the main method in Java can be overloaded just like any other method. Method overloading refers to defining multiple methods in the same class with the same name but with different parameter lists.</p><p>For example, you can have multiple main methods in the same class with different parameter types or different numbers of parameters:</p><p><strong>class</strong> <strong>Main</strong> {</p><p><strong>public</strong> <strong>static</strong> <strong>void</strong> <strong>main</strong>(String args[]) {</p><p>System.out.println(“ Main Method”);</p><p>}</p><p><strong>public</strong> <strong>static</strong> <strong>void</strong> <strong>main</strong>(<strong>int</strong>[] args){</p><p>System.out.println(“Overloaded Integer array Main Method”);</p><p>}</p><p><strong>public</strong> <strong>static</strong> <strong>void</strong> <strong>main</strong>(<strong>char</strong>[] args){</p><p>System.out.println(“Overloaded Character array Main Method”);</p><p>}</p><p><strong>public</strong> <strong>static</strong> <strong>void</strong> <strong>main</strong>(<strong>double</strong>[] args){</p><p>System.out.println(“Overloaded Double array Main Method”);</p><p>}</p><p><strong>public</strong> <strong>static</strong> <strong>void</strong> <strong>main</strong>(<strong>float</strong> args){</p><p>System.out.println(“Overloaded float Main Method”); }</p><p>}</p><p>In this example, there are a lots main methods with different parameter lists. Each of these methods can be invoked independently, and the Java Virtual Machine (JVM) will execute the appropriate one based on the arguments passed (or lack thereof).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36fca292552d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>