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 ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the private method modifier?

594


What do you understand by final value?

594


What is the difference between a static and a non-static inner class in java programming?

538


What is a stringbuffer?

524


Explain Basics of OOP Language in java

596






What is difference between module and function?

548


What is skeleton and stub? What is the purpose of those?

548


How can an exception be thrown manually by a programmer?

519


Where is the singleton class used?

592


Can an object be null?

557


What is variable argument in java?

566


what is nested class in java?

609


What is an empty list in java?

537


What is the right data type to represent a price in java?

574


Does java initialize arrays to zero?

516