Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes core java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "core java" Watch "core java" New topic

core java

Hari Prasad M

Joined: Feb 27, 2006
Posts: 3
what is upcasting and down casting?

Hari Prasad Mallidi
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Hi, this series of questions smells like homework and makes me wonder what other ways you tried to find the answer? We certainly welcome your questions, but we try to make you work a bit, too. For example, Google on "java upcast downcast" took me right to Thinking In Java, an excellent online book that you should bookmark today. See if that chapter answers your questions. If not, come tell us why.
[ March 14, 2006: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: core java
It's not a secret anymore!