The day today
Thursday, March 27, 2008
Static methods in java
Overriding does not work for static if you upcast the instance! With a static you'll get the behavior of whatever class you upcast to. Thus you cannot have polymorphic behavior.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2009
(3)
►
May
(1)
►
March
(1)
►
February
(1)
▼
2008
(36)
►
November
(2)
►
October
(1)
►
September
(1)
►
June
(3)
►
May
(6)
►
April
(9)
▼
March
(5)
Factory Pattern
Static methods in java
California smiling
Jersey gardens
Long time no see
►
February
(5)
►
January
(4)
About Me
Praveen
View my complete profile
No comments:
Post a Comment