explain about casting of objects?

Answer Posted / niranjanravi

Casting betrween object references is to refer to a object
compatible by class or interface or array type reference.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the given number is a prime number or not by getting input from the user

760


What is java string pool?

760


Why scanner is used in java?

767


Why we override equals() method?

767


Why do we need singleton class?

728


What is a boolean flag in java?

762


What methodology can be utilized to link to a database?

697


Explain about static nested classes in java?

811


What is the purpose of object oriented programming?

709


What is the final variable?

922


Is int primitive data type?

730


Explain what pure virtual function is?

787


What is the reflection?

766


When the constructor of a class is invoked?

764


What is boolean strategy?

858