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 are scriptlets?

815


What is null in java?

699


Can you call a method on a null object?

750


what are the states associated in the thread? : Java thread

818


What is difference between overloading and overriding in java?

726


What is java and their uses?

747


Which of the following classes will have more memory allocated?

776


Can anonymous class have constructor?

764


What will happen when using pass by reference in java?

708


How do you declare a variable?

834


What is stringwriter?

729


What do you mean by checked exceptions?

741


What does regex mean?

753


what is meant by HQL?

827


What is parsing and its types?

774