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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is synchronization and why is it important in java programming?

463


What is dynamic array in java?

513


What is illegal identifier in java?

520


How do you define a parameter?

574


What is the purpose of the runtime class in java programming?

553






Difference difference paint() and paintcomponent()?

522


How many types of variables are there?

657


What are the different conditional statements?

547


What is a bufferedreader?

520


Define max and min heap, also the search time of heap.

580


What are the disadvantages of using inner classes?

542


Is java util regex pattern thread safe?

508


What is string :: npos?

565


Can a static class implement an interface?

537


What are synchronized methods and synchronized statements in java programming?

564