ProAnswers.org

What is Down casting in java?

Down casting is the casting from a general to a more specific type, i.e. casting down the hierarchy

                                                                                         (or)

Assigning an object or object reference of sub class to a super class is called as down casting.

Ex: Object ob=new A();

Here A() is a sub class constructer and Object is a super class.