RUVIDEO
Поделитесь видео 🙏

Can we overload main method in java ? #33 Java Tutorial HINDI

Welcome to Tech Talk Tricks and in this video, we will learn, can we overload main method in java ? So watch this video till the end and know how to overload main method in java using suitable example.

My Gadgets :
►Laptop : https://amzn.to/2UlVZq7
►Mic : https://amzn.to/2Scq3al
►Tripod : https://amzn.to/2TfND3e
►Phone : https://amzn.to/2UroWkN

Can we overload java main() method?
Yes, by method overloading. You can have any number of main methods in a class by method overloading. But JVM calls main() method which receives string array as arguments only. Let's see the simple example:

If a class has multiple methods having same name but different in parameters, it is known as Method Overloading.

If we have to perform only one operation, having same name of the methods increases the readability of the program.

Suppose you have to perform addition of the given numbers but there can be any number of arguments, if you write the method such as a(int,int) for two parameters, and b(int,int,int) for three parameters then it may be difficult for you as well as other programmers to understand the behavior of the method because its name differs.

So, we perform method overloading to figure out the program quickly.
Advantage of method overloading
Method overloading increases the readability of the program.

Different ways to overload the method
There are two ways to overload the method in java

By changing number of arguments
By changing the data type

At Tech Talk Tricks you will learn HTML, CSS, SQL, PL/SQL, JAVA and many more computer as well as mobile tips and tricks.
So please SUBSCRIBE to getting updated with the latest technology.

#overloadmainmethod #overloading #javatutorial #ranasingh #techtalkricks #javaInHindi #javaCourse #corejava
SUBSCRIBE our channel at :
https://www.youtube.com/techtalktricks

**************************************************
Follow Tech Talk Trick on Facebook
https://www.facebook.com/techtalktricks
**************************************************
Follow tech talk trick on Twitter
https://twitter.com/tecktalktrick
**************************************************
Follow Tech Talk Tricks on Instagram
https://www.instagram.com/techtalktricks
**************************************************
Subscribe tech talk tricks on YouTube
https://www.youtube.com/techtalktricks
***************************************************

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Can we overload main method in java ? #33 Java Tutorial HINDI», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.