• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

static methods cannot be overridden.

 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it that static methods cannot be overridden?

if so please let me know where am i doing wrong with reference to below code:




Output:
---------- Run ----------
25
Normal Termination
Output completed (0 sec consumed).
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check Overriding vs Hiding.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic