• Post Reply Bookmark Topic Watch Topic
  • New Topic

overloading static methods.  RSS feed

 
cathymala louis
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

If static method cannot be overloaded, then how come sleep() and yield() of java.lang.Thread can have overloaded version.

Please explain me.

Thanks.
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Static methods can be overloaded. They cannot be overridden.
 
wise owen
Ranch Hand
Posts: 2023
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!