This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Widening Reference Conversation  RSS feed

 
Badri Sarma
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marlene Miller
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good idea - collect examples.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!