what is meant by UP& DOWN casting in java?

Answer Posted / paritala.veeraiah chowdary

Casting is the process of converting one data type in to
another.Converting smaller data type into higher data type
is known as up casting.Where as the process of converting
higher data type to lower is known as down casting.

Is This Answer Correct ?    24 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class be declared as protected?

541


What is the difference between abstract class and interface1? What is an interface?

562


what is meant by Byte code concept in Java?

600


Can we have any code between try and finally blocks?

563


a thread is runnable, how does that work? : Java thread

513






What is io stream in java?

521


Explain about complier design(phases)

632


How do you remove an object from an arraylist in java?

467


What is a 16 bit word?

567


What is the most important feature of java? What is an interface?

524


What is array command?

561


What is a hashmap used for?

650


What are the common uses of "this" keyword in java ?

573


What is sortedset in java?

575


Explain about class in java?

612