explain about casting of objects?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Casting betrween object references is to refer to a object
compatible by class or interface or array type reference.
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / rajesh
Casting can be applied to data types for like narrowing and
widening of primitive data types.
Casting can be applied for objects instantiated from the
inheritance hierarchy but only upward casting.
| Is This Answer Correct ? | 2 Yes | 0 No |
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is difference between variable declaration and definition?
Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?
How can u increase the heap size in the memory?
What is casting in java programming?
What are loops in java?
What is nested class?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple Inheritance? please anybody help me.....
what is webservices?
What is arrays aslist in java?
How use .contains in java?