This discussion is archived
4 Replies Latest reply: Aug 5, 2013 6:47 AM by La VloZ RSS

Final arrays

La VloZ Newbie
Currently Being Moderated

Hello all

I want to create a final array with final elements

 

{code}

final int[] array = {0, 1, 2, 3, 4, 5};

{code}

 

But here only the reference of the array is final , not it's elements

So how can i do that??

Thank u all

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points