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

There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1005


Are functions objects in java?

550


What is the difference between arraylist and hashset in java?

520


What are different type of exceptions in java?

555


What is the java virtual machine?

591






Can a class be private?

523


Tell me a few examples of final classes defined in Java API?

570


What are internal variables?

566


What is a file pointer?

517


What are runtime exceptions?

620


What is bean? Where it can be used?

611


What is ternary operator?

572


Explain features of interfaces in java?

562


Explain access specifiers?

663


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

842