|
|
|
|
Top Topics in our Forum';
|
|
|
Java CastingHow to and When to Cast Objects
"Read R to L"
ie Is "what is on the right" always "what is on the left" ?
Example 1) String str ="word"; Comparable p = str;//OK String is a ComparableC1 implements i1 and i2 C c1 = i1 ;;yes Top |