what are upcasting and downcasting?

Answer Posted / amandee[

when we cast reference variable into subclass then
implicitly casting happens means that up casting and vice versa

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is locale in java?

571


what is mena by object block any what is the use of that

1770


How hashmap works in java?

562


What is float in java?

557


Explain the protected field modifier?

591






What does  mean in regex?

565


What is set in java?

522


Explain reverse a linked list recursive java solution?

525


What are the escape sequences in java?

561


Define Multiprogramming and Multiprocessing in java.

575


What are identifiers in java?

571


Give a practical example of singleton class usage?

591


Why java is secure? Explain.

594


whatis Home interface and Remoteinterface? with example?

1547


What is runtime locatable code?

861