what is meant by UP& DOWN casting in java?

Answer Posted / jack

i think.. UPcasting is converting one type to another
without any loss of data... and DOWNcasting is converting
one type to another with loss of data

Is This Answer Correct ?    7 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is method in research paper?

808


Why java is not 100% object-oriented?

1216


Can inner class extend any class?

828


how its run?

839


What access modifiers can be used for methods?

858


What is return type in java?

859


What do negative exponents mean?

773


What are Normalization Rules? Define Normalization?

787


What is class forname used for?

815


What are the high-level thread states in java programming?

862


What are green threads in java?

787


How to declare objects of a class ?

837


What is bufferedreader in java?

807


What is the purpose of the return statement?

831


Is java still relevant?

749