Answer Posted / regalla soujanya naresh reddy
A super class reference can be converted into a subclass
reference but this
subclass reference is not useful to call the methods of any
of the classes. This convention is known as Downcasting.
We can convert the subclass reference to a superclass
reference without using the cast operation compiler because
it will internally take care of the casting. This is known
as Upcasting.
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is main in java?
What is unicode full form?
What is visibility mode?
What is a parameter in matrices?
What are different types of references?
How to make a class or a bean serializable?
What is string :: npos?
What happens if an exception is not handled in a program?
What is array command?
How can you say java is object oriented?
What is methods in java?
What do the thread?class methods run() and start() do?
What is generics in java interview questions?
List some oops concepts in java?
how to write a program for sending mails between client and server