Forums Register Login

Widening Reference Conversation

+Pie Number of slices to send: Send
Hi,
I am going through the java specification2.0
in that, i came through the Widening Reference Conversation. I didn't understand this two statements, can anybody clarify me by giving example for each statement.
5.1.4 Widening Reference Conversions
1. From any array type to type Object.
2. From any array type SC[] to any array type TC[], provided that SC and TC are reference types and there is a widening conversion from SC to TC.

Clarify me please
thanks in advance
+Pie Number of slices to send: Send
Good idea - collect examples.
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 948 times.
Similar Threads
parameter passing question for array reference
questions
Need Help
JLS understanding...
JLS understanding...
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:24:34.