what is meant by UP& DOWN casting in java?

Answer Posted / keli

UP CASTING: it is the process of assigning subclass reference to the super class.
DOWN CASTING:the process of assigning superclass reference to subclass

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by java annotations?

554


What is string made of?

531


What is anagram in java?

524


What is a top level class in java?

537


placement papaers of spring computing technology

1026






Can we convert stringbuffer to string?

566


Is double bigger than float?

549


What does bitwise or mean?

571


Differentiate between postfix and prefix operators in java.

646


what is recursion in java

602


What is java command?

574


Is empty set an element of empty set?

608


What is the difference between Java and C++?

615


What is the primitive type byte?

586


Explain about interrupt() method of thread class ?

666