Under what circumstances an object reference be cast to an
interface reference?

Answer Posted / janet

When the object implements the referenced interface, an
object reference be cast to an interface reference.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which order the iterator iterates over collection?

581


What is a literal coding?

510


List some java keywords sun like c, c + + keywords?

585


Explain the significance of listiterator.

588


How many types of parsers are there?

544






Explain about assignment statement?

596


What is the maximum size of list in java?

543


Can we have any other return type than void for main method?

538


Explain the difference between runnable and callable interface in java?

582


What is function and method in java?

520


Can we use switch statement with strings?

620


What do you understand by garbage collection in Java? Can it be forced to run?

552


Does apple use java?

493


Explain about interthread communication and how it takes place in java?

546


What is return keyword in java?

559