This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

static methods  RSS feed

 
Mathew Lee
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I read
http://www.jchq.net/certkey/0102certkey.htm
as

A Static methods cannot be overriden in a child class but they can be hidden.. I was not clear on that. Any ideas, resources, links, sample code highly appreciated. thanks in advance.
 
Edwin Torres
Ranch Hand
Posts: 57
Java Linux Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link explains it pretty well: http://download.oracle.com/javase/tutorial/java/IandI/override.html
 
Mohamed Sanaulla
Bartender
Posts: 3179
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OverridingVsHiding
 
Campbell Ritchie
Marshal
Posts: 55687
162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope I'm not too late) for you (I had a busy weekend, but there was a long discussion about the same question last week.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!