This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Static Overloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Static Overloading" Watch "Static Overloading" New topic
Author

Static Overloading

Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 189
Hello Everyone
I have been asked this question in an interview. Please help me to understand it. It is as follows :
What do you mean by static overloading and dynamic overloading ?
Thanks!!!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44616
    
  34
What did you answer?
I do not think there is such a thing as dynamic overloading in Java®
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3028
    
  10
The question seems meaningless... at least, it has no standard meaning. Perhaps it was an attempt to ask about the distinction between overloading, which is static, and overriding, which is dynamic? (See: Overriding vs. Hiding) We can only guess at what's in the minds of bad interviewers.
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

not sure but they might refer to Dynamic Binding?


http://muhammadkhojaye.blogspot.com/
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44616
    
  34
Possibly, but dynamic binding is used to implement polymorphism and overriding not overloading. MS is right to go on about bad interviewers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Static Overloading
 
It's not a secret anymore!