Answers

The Brainliest Answer!
2015-04-20T10:12:31+05:30
Down casting 

Animal animal = new Dog();

Dog dog = (Dog) animal;

here animal is a higher variable type and dog is lower. Then we down casting animal as Dog type in second line.

Up casting will be opposite ...

Circle circ = new Circle();
Shape shape = (Shape) circ;


 
1 5 1