• Post Reply Bookmark Topic Watch Topic
  • New Topic

Assigning Array references  RSS feed

 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating array and assigning reference of one to another.
But it giving error error "f1 cannot resolve"?


 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you not getting a bit mixed up between f-one and f-ell?
 
raja kanak
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code compiles & runs fine. The output is f2[0]= 0
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!