Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
Purpose for the Overloading
rex tony
Ranch Hand
Posts: 159
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Good afternoon,
What is the main purpose for the Overloading?.Even as i've known the concepts.
Both method name all are same,return type,argument from the SubClass,BaseClass
Regards
Rex
vatsalya rao
Ranch Hand
Posts: 63
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Overloaded methids
must
differ in argument list.
But they can
vatsalya rao
Ranch Hand
Posts: 63
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Overloaded methods
must
differ in argument list.
But they
can
chage return type,access modifiers.
Try out by writing some code ,you will get it better.
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Don't confuse
overloading
with
overriding
. Did you actually mean overriding instead of overloading?
Jesper's Blog
-
Pluralsight Author Page
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Invisible Popup
WA #2 ..... word association
method overriding
Overriding,Overloading methods
method overloading
More...