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
Explain throw keyword in java?
What is anagram of a string?
How we create object in copy constructor?
Can we execute a program without main?
What is compareto () in java?
What is meant by stack and queue?
What are parsers? Dom vs sax parser.
Explain enumeration in java?
What is vector capacity in java?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is the difference between a static and a non-static inner class in java programming?
What happens when a thrown exception is not handled?
Define nashorn in java8.
Does java support multiple inheritances?
If you do not want your class to be inherited by any other class. What would you do?