Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Darcy Jones   on Mar 09 In Java Category.

  
Question Answered By: Terence Mitchell   on Mar 09

I'm using Arrays.fill method to initialize the array with zeros. I didn't find
an analogous function in Vector class and by creating my own function that
iterates for all elements and assign 0 to them it's not more optimal than the
JDK implemented functions, I think.

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on java.util.Arrays not defined? Or get search suggestion and latest updates.


Tagged: