Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Javascript

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 02-22-2016, 10:43 PM   #1
Shivangi Panwar
Registered User
 
Join Date: Nov 2015
Posts: 127
What is Overloading?

What is Overloading?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Shivangi Panwar is offline   Reply With Quote

Old 03-23-2016, 12:19 AM   #2
aajokhio
Registered User
 
Join Date: May 2015
Location: Hyderabad/Pakistan
Posts: 25
Dear OverLoading Means Update with Parent Work, For Example, Parent type single method or constructor, and you will use same Method Name or Constructor update them. That's mean OverLoading.
aajokhio is offline   Reply With Quote
Old 08-08-2016, 12:06 AM   #3
Aashi
Registered User
 
Join Date: May 2016
Location: Ahmedabad, Gujarat
Posts: 14
Overloading is the term used when more than one method exists with the same name.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Aashi is offline   Reply With Quote
Old 08-15-2016, 03:35 AM   #4
thuha123
Registered User
 
Join Date: Aug 2016
Posts: 2
Quote:
Originally Posted by aajokhio View Post
Dear OverLoading Means Update with Parent Work, For Example, Parent type single method or constructor, and you will use same Method Name or Constructor update them. That's mean OverLoading.
like! very good
__________________
play
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
at
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

bán
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
giá rẻ
thuha123 is offline   Reply With Quote
Old 09-20-2016, 02:56 AM   #5
arshi1586
Registered User
 
Join Date: Sep 2016
Location: Bhopal , Madhya pradesh
Posts: 18
Overloading is a concept used to avoid redundant code where the same method name is used multiple times but with a different set of parameters. The actual method that gets called during runtime is resolved at compile time, thus avoiding runtime errors
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
arshi1586 is offline   Reply With Quote
Old 10-10-2016, 02:30 AM   #6
kunalkumar
Registered User
 
Join Date: Apr 2016
Posts: 198
Checking / Switching inside the function is not OVERLOADING. The concept of overloading: In some programming languages, function overloading or method overloading is the ability to create multiple methods of the same name with different implementations. ... For example, doTask() and doTask(object O) are overloaded methods.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kunalkumar is offline   Reply With Quote
Old 10-20-2016, 03:57 AM   #7
chrisbell12
Registered User
 
Join Date: Aug 2016
Posts: 13
Thanks for the the information.
chrisbell12 is offline   Reply With Quote
Old 11-01-2016, 11:24 PM   #8
Dubey675
Registered User
 
Join Date: Jul 2015
Posts: 260
Method Overloading is a feature that allows a class to have two or more methods having same name, if their argument lists are different. Method overloading is also known as Static Polymorphism.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Dubey675 is offline   Reply With Quote
Old 03-16-2017, 12:03 AM   #9
sonvi.belani
Registered User
 
Join Date: Jan 2017
Location: Ahmedabad
Posts: 95
Hi,

In some programming languages, function overloading or method overloading is the ability to create
multiple methods of the same name with different implementations. Calls to an overloaded function will
run a specific implementation of that function appropriate to the context of the call, allowing one
function call to perform different tasks depending on context.

For example, doTask() and doTask(object O) are overloaded methods. To call the latter, an object must
be passed as a parameter, whereas the former does not require a parameter, and is called with an empty
parameter field. A common error would be to assign a default value to the object in the second method,
which would result in an ambiguous call error, as the compiler wouldn't know which of the two methods
to use.

Another appropriate example would be a Print(object O) method. In this case one might like the method
to be different when printing, for example, text or pictures. The two different methods may be overloaded
as Print(text_object T); Print(image_object P).

Thanks
__________________
Sonvi Belani
Ecommerce Website Developer

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sonvi.belani is offline   Reply With Quote
Old 05-23-2017, 04:48 AM   #10
JamesLiam
Registered User
 
Join Date: May 2017
Posts: 15
Overloading refers to the ability to use a single identifier to define multiple methods of a class that differ in their input and output parameters. Overloaded methods are generally used when they conceptually execute the same task but with a slightly different set of parameters.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
JamesLiam is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:49 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.