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
What is data movement?
Does constructor return any value?
Difference between static binding and dynamic binding?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What are the object and class classes used for?
What is thread pool? How can we create thread pool in java?
Explain the difference between an object-oriented programming language and object-based programming language?
Explain some best practices you would apply while using collection in java?
How would you dynamically allocate memory to an array?
Is treeset sorted in java?
what is comparable and comparator interface?
What is the common usage of serialization?
Where are register variables stored?
What is the difference between overriding and overloading in OOPS.
Can static methods access instance variables in java?